diff compression/zip/zip.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 137f5b5c5ce3
children a133976e0783
line wrap: on
line diff
--- a/compression/zip/zip.sh	Mon Jul 15 20:10:00 2019 +0200
+++ b/compression/zip/zip.sh	Thu Jul 18 07:26:43 2019 +0200
@@ -28,8 +28,8 @@
 build()
 {
 	rm -rf ${PKGNAME}30
-	tar xvaf ${PKGNAME}30.tar.gz
-	pushd ${PKGNAME}30
+	tar xvf ${PKGNAME}30.tar.gz
+	cd ${PKGNAME}30
 
 	# does not support DESTDIR, fake it with prefix.
 	make -f unix/Makefile CC="$CC" generic
@@ -38,6 +38,6 @@
 		MANDIR=$DESTDIR/share/man/man1 \
 		install
 
-	popd
+	cd ..
 	rm -rf ${PKGNAME}30
 }