wok-next rev 7893
attr: Need bash sh to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 13:53:34 2011 +0100 (2011-01-09) |
parents | 4c56958d48f1 |
children | 00abc38d049f |
files | attr/receipt |
line diff
1.1 --- a/attr/receipt Sat Jan 08 08:39:14 2011 +0000 1.2 +++ b/attr/receipt Sun Jan 09 13:53:34 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.