cookutils rev 514 slitaz-tank
cook: Fixed making $CACHE/installed.list file.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jul 13 15:34:41 2012 +0000 (2012-07-13) |
parents | 8da5f7cbd5c0 |
children | 031b095ab711 |
files | cook |
line diff
1.1 --- a/cook Fri Jul 13 11:49:09 2012 +0000 1.2 +++ b/cook Fri Jul 13 15:34:41 2012 +0000 1.3 @@ -571,7 +571,6 @@ 1.4 # Keep the last diff for debug and info. 1.5 mv -f $CACHE/installed.cook.diff $CACHE/installed.diff 1.6 fi 1.7 - clean_chroot 1.8 } 1.9 1.10 extract_path() 1.11 @@ -666,7 +665,7 @@ 1.12 BDEPS="$BUILD_DEPENDS" 1.13 fi 1.14 [ "$BDEPS" ] && gettext -e "Checking build dependencies...\n" 1.15 - [ "$root" ] && echo "Using packages DB: ${root}$DB" 1.16 + [ "$root" != "/" ] && echo "Using packages DB: ${root}$DB" 1.17 for dep in $BDEPS 1.18 do 1.19 for i in $dep 1.20 @@ -710,7 +709,7 @@ 1.21 done 1.22 1.23 # Get the list of installed packages 1.24 - ls -l ${root}$INSTALLED > $CACHE/installed.list 1.25 + ls -1 ${root}$INSTALLED > $CACHE/installed.list 1.26 1.27 # Have we a missing build dep to cook ? 1.28 if [ -s "$CACHE/missing.dep" ] && [ "$AUTO_COOK" ]; then