diff security/polkit/polkit.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 b0fd9c97761e
line wrap: on
line diff
--- a/security/polkit/polkit.sh	Mon Jul 15 20:10:00 2019 +0200
+++ b/security/polkit/polkit.sh	Thu Jul 18 07:26:43 2019 +0200
@@ -45,8 +45,8 @@
 build()
 {
 	rm -rf $PKGNAME-$PKGVERSION
-	tar xvaf $PKGNAME-$PKGVERSION.tar.gz
-	pushd $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
 
 	# credits to void-linux.
 	patch -p0 < ../CVE-2018-19788.patch
@@ -66,6 +66,6 @@
 	make
 	make install DESTDIR=$DESTDIR
 
-	popd
+	cd ..
 	rm -rf $PKGNAME-$PKGVERSION
 }