correct tar link

When we create the /bin/tar in $(IPKG_INSTROOT) link we want it to point to
/usr/bin/tar, and not to $(IPKG_INSTROOT)/usr/bin/tar as $(IPKG_INSTROOT)
is certainly not a valid path on the built rootfs.

Signed-off-by: Emmanuel Deloget <logout@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29813 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-01-19 16:43:40 +00:00
parent b50e0b1a74
commit e6a00b49fd

View File

@ -37,7 +37,7 @@ define Package/tar/postinst
if [ -e $${IPKG_INSTROOT}/bin/tar ]; then
rm -r $${IPKG_INSTROOT}/bin/tar;
fi
ln -sf $${IPKG_INSTROOT}/usr/bin/tar $${IPKG_INSTROOT}/bin/tar
ln -sf /usr/bin/tar $${IPKG_INSTROOT}/bin/tar
endef
define Package/tar/postrm