# HG changeset patch # User Christophe Lincoln # Date 1307980214 -7200 # Node ID 451e63382dc1dd530d2d68091cd9b331fdad0e11 # Parent 1c29b3f0902343a0f356aee29f846d4c217f497e cook: small fix and may remove source after build ? diff -r 1c29b3f09023 -r 451e63382dc1 cook --- a/cook Thu Jun 09 03:05:28 2011 +0200 +++ b/cook Mon Jun 13 17:50:14 2011 +0200 @@ -723,11 +723,13 @@ old=$(ls $PKGS/$pkg-*.tazpkg 2>/dev/null | head -n 1) status if [ -f "$old" ]; then - echo -n "Removing old: $(basename $old)" + gettext "Removing old: $(basename $old)" rm -f $old && status fi mv -f $pkgdir/taz/$pkg-*.tazpkg $PKGS sed -i /^${pkg}$/d $broken + #gettext "Removing source tree..." + #rm -f $WOK/$pkg/source && status fi }