[packages] mail/nullmailer: Fixed sendmail symlink creation to use shell variable...
authorDaniel Dickinson <crazycshore@gmail.com>
Tue, 28 Dec 2010 04:02:52 +0000 (04:02 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Tue, 28 Dec 2010 04:02:52 +0000 (04:02 +0000)
SVN-Revision: 24841

mail/nullmailer/Makefile

index 0f9cedd..565d954 100644 (file)
@@ -48,8 +48,8 @@ define Package/nullmailer/install
 endef
 
 define Package/nullmailer/postinst
-       ln -sf ../sbin/sendmail $(1)/usr/lib/sendmail
-       ln -sf nullmailer-sendmail $(1)/usr/sbin/sendmail
+       ln -sf ../sbin/sendmail $${IPKG_INSTROOT}/usr/lib/sendmail
+       ln -sf nullmailer-sendmail $${IPKG_INSTROOT}/usr/sbin/sendmail
 endef
 
 $(eval $(call BuildPackage,nullmailer))