From 1f9fb11980a723f680a9670e47fbd0f8b5263706 Mon Sep 17 00:00:00 2001 From: cshore Date: Tue, 28 Dec 2010 04:02:52 +0000 Subject: [PATCH] [packages] mail/nullmailer: Fixed sendmail symlink creation to use shell variable for postinst script not Makefile variable git-svn-id: svn://svn.openwrt.org/openwrt/packages@24841 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- mail/nullmailer/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/nullmailer/Makefile b/mail/nullmailer/Makefile index 0f9cedd94..565d95455 100644 --- a/mail/nullmailer/Makefile +++ b/mail/nullmailer/Makefile @@ -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))