# HG changeset patch # User Christopher Rogers # Date 1342193681 0 # Node ID bd7220836a608a44dabfda08c81500957ec02991 # Parent 8da5f7cbd5c03c1885f057b22353ffb6e463e968 cook: Fixed making $CACHE/installed.list file. diff -r 8da5f7cbd5c0 -r bd7220836a60 cook --- a/cook Fri Jul 13 11:49:09 2012 +0000 +++ b/cook Fri Jul 13 15:34:41 2012 +0000 @@ -571,7 +571,6 @@ # Keep the last diff for debug and info. mv -f $CACHE/installed.cook.diff $CACHE/installed.diff fi - clean_chroot } extract_path() @@ -666,7 +665,7 @@ BDEPS="$BUILD_DEPENDS" fi [ "$BDEPS" ] && gettext -e "Checking build dependencies...\n" - [ "$root" ] && echo "Using packages DB: ${root}$DB" + [ "$root" != "/" ] && echo "Using packages DB: ${root}$DB" for dep in $BDEPS do for i in $dep @@ -710,7 +709,7 @@ done # Get the list of installed packages - ls -l ${root}$INSTALLED > $CACHE/installed.list + ls -1 ${root}$INSTALLED > $CACHE/installed.list # Have we a missing build dep to cook ? if [ -s "$CACHE/missing.dep" ] && [ "$AUTO_COOK" ]; then