diff core/busybox/busybox.sh @ 606:25cecc6dca48

vanilla: use POSIX shell and busybox tar
author David Demelier <markand@malikania.fr>
date Thu, 18 Jul 2019 07:26:43 +0200
parents ec4819b1579a
children 8100a1897e9e
line wrap: on
line diff
--- a/core/busybox/busybox.sh	Mon Jul 15 20:10:00 2019 +0200
+++ b/core/busybox/busybox.sh	Thu Jul 18 07:26:43 2019 +0200
@@ -35,8 +35,8 @@
 build()
 {
 	rm -rf $PKGNAME-$PKGVERSION
-	tar xvaf $PKGNAME-$PKGVERSION.tar.bz2
-	pushd $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.bz2
+	cd $PKGNAME-$PKGVERSION
 
 	#
 	# Allow user to specify a full config if specified, otherwise change
@@ -85,6 +85,6 @@
 	install -Dm0644 ../busybox.mdev $DESTDIR/etc/rc.d/busybox.mdev
 	install -Dm0644 ../busybox.syslogd $DESTDIR/etc/rc.d/busybox.syslogd
 
-	popd
+	cd ..
 	rm -rf $PKGNAME-$PKGVERSION
 }