diff network/iproute2/iproute2.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 bad483aace64
children a133976e0783
line wrap: on
line diff
--- a/network/iproute2/iproute2.sh	Mon Jul 15 20:10:00 2019 +0200
+++ b/network/iproute2/iproute2.sh	Thu Jul 18 07:26:43 2019 +0200
@@ -48,8 +48,8 @@
 build()
 {
 	rm -rf $PKGNAME-$PKGVERSION
-	tar xvaf $PKGNAME-$PKGVERSION.tar.xz
-	pushd $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.xz
+	cd $PKGNAME-$PKGVERSION
 
 	# custom configure script is not customizable.
 	echo CC="$CC" > config.mk
@@ -70,6 +70,6 @@
 	make CC="$CC"
 	make PREFIX=/ SBINDIR=/bin DESTDIR=$DESTDIR install
 
-	popd
+	cd ..
 	rm -rf $PKGNAME-$PKGVERSION
 }