# HG changeset patch # User Antoine Bodin # Date 1294577614 -3600 # Node ID 6010b60e81b4b3d128edc5385262c60b854dfa38 # Parent 4c56958d48f12e171455c198d5befb1b566c3890 attr: Need bash sh to compile diff -r 4c56958d48f1 -r 6010b60e81b4 attr/receipt --- a/attr/receipt Sat Jan 08 08:39:14 2011 +0000 +++ b/attr/receipt Sun Jan 09 13:53:34 2011 +0100 @@ -34,9 +34,16 @@ # rm -r -f man # rm -r -f doc + # Need bash sh to compile + mv /bin/sh /bin/sh.bak + ln -s /bin/bash /bin/sh + # Configure is included in Makefile - make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" && - make DESTDIR=$src/_pkg install install-lib install-dev + { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" && + make install install-lib install-dev + } || { mv -f /bin/sh.bak /bin/sh; return 1; } + + mv -f /bin/sh.bak /bin/sh } # Rules to gen a SliTaz package suitable for Tazpkg.