diff text/libxml2/libxml2.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 0194a200012b
children 59a2fa6992bc
line wrap: on
line diff
--- a/text/libxml2/libxml2.sh	Mon Jul 15 20:10:00 2019 +0200
+++ b/text/libxml2/libxml2.sh	Thu Jul 18 07:26:43 2019 +0200
@@ -65,8 +65,8 @@
 build()
 {
 	rm -rf $PKGNAME-$PKGVERSION
-	tar xvaf $PKGNAME-$PKGVERSION.tar.gz
-	pushd $PKGNAME-$PKGVERSION
+	tar xvf $PKGNAME-$PKGVERSION.tar.gz
+	cd $PKGNAME-$PKGVERSION
 
 	sed -i -e '/SUBDIRS/ s/tests//' python/Makefile.am
 	autoreconf -vif
@@ -95,6 +95,6 @@
 		install
 	rm -f $DESTDIR/lib/libxml2.la
 
-	popd
+	cd ..
 	rm -rf $PKGNAME-$PKGVERSION
 }