wok-next rev 7894

acl: Need bash sh to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 13:54:38 2011 +0100 (2011-01-09)
parents 6010b60e81b4
children 33c114b1b1c1
files acl/receipt
line diff
     1.1 --- a/acl/receipt	Sun Jan 09 13:53:34 2011 +0100
     1.2 +++ b/acl/receipt	Sun Jan 09 13:54:38 2011 +0100
     1.3 @@ -34,9 +34,16 @@
     1.4  	# rm -r -f man
     1.5  	# rm -r -f doc
     1.6  
     1.7 +	# Need bash sh to compile
     1.8 +	mv /bin/sh /bin/sh.bak
     1.9 +	ln -s /bin/bash /bin/sh
    1.10 +
    1.11  	# Configure is included in Makefile
    1.12 -	make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
    1.13 -	make DESTDIR=$src/_pkg install install-lib install-dev
    1.14 +	{ make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
    1.15 +	make install install-lib install-dev
    1.16 +	} || { mv -f /bin/sh.bak /bin/sh; return 1; }
    1.17 +
    1.18 +	mv -f /bin/sh.bak /bin/sh
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.