wok-6.x diff linux/receipt @ rev 9912
slitaz-icon: sed only if file exist
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 18:16:21 2011 +0200 (2011-05-17) |
parents | efa076e44811 |
children | 93f683705964 |
line diff
1.1 --- a/linux/receipt Mon May 09 15:54:20 2011 +0200 1.2 +++ b/linux/receipt Tue May 17 18:16:21 2011 +0200 1.3 @@ -31,8 +31,8 @@ 1.4 # Check for Aufs and cook it if unbuilt. 1.5 echo "Checking for Aufs packages..." 1.6 _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.7 - AUFSDIR=$WOK/$PACKAGE/aufs-${_AUFSVER} 1.8 - [ -d "$AUFSDIR" ] || AUFSDIR=$WOK/$PACKAGE/source/aufs-${_AUFSVER} 1.9 + AUFSDIR=$WOK/aufs/aufs-${_AUFSVER} 1.10 + [ -d "$AUFSDIR" ] || AUFSDIR=$WOK/aufs/source/aufs-${_AUFSVER} 1.11 if [ ! -d "$AUFSDIR" ]; then 1.12 if [ -x /usr/bin/cook ]; then 1.13 # Give info an redirect to /dev/null since aufs got it own log. 1.14 @@ -48,7 +48,7 @@ 1.15 1.16 echo "Copying Aufs files and patches..." 1.17 cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src 1.18 - cp -a $AUFSDIR/*.patch $WOK/$PACKA$stuff 1.19 + cp -a $AUFSDIR/*.patch $stuff 1.20 1.21 # SliTaz db 1.22 rm -rf $WOK/$PACKAGE/slitaz && mkdir $WOK/$PACKAGE/slitaz