diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-06-11 08:23:52 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-06-11 08:23:52 +0000 |
commit | a87f40fe2c980872636b92608fbad5e13e0da2a0 (patch) | |
tree | e78c7f9a73059ec82676a7fcd96f6de54cd694c5 /ports-mgmt/portmaster | |
parent | c932b2204084ff0af5242df452a2f9fd705dfba3 (diff) | |
download | ports-a87f40fe2c980872636b92608fbad5e13e0da2a0.tar.gz ports-a87f40fe2c980872636b92608fbad5e13e0da2a0.zip |
Notes
Diffstat (limited to 'ports-mgmt/portmaster')
-rw-r--r-- | ports-mgmt/portmaster/files/portmaster.sh.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in index e1e4a38b97dd..d49b2a5e4ca4 100644 --- a/ports-mgmt/portmaster/files/portmaster.sh.in +++ b/ports-mgmt/portmaster/files/portmaster.sh.in @@ -1648,9 +1648,16 @@ delete_all_distfiles () { echo " Try ${0##*/} --clean-distfiles[-all] for a full cleanup" echo '' if [ -n "$dist_list_files" ]; then - echo "===>>> However, the list of files in $dist_list" - echo -n " should be current. Delete the files on this list? y/n [n] " - local answer f ; read answer + local answer f + # Outdent + if [ -z "$ALWAYS_SCRUB_DISTFILES" ]; then + echo "===>>> However, the list of files in $dist_list" + echo -n " should be current. Delete the files on this list? y/n [n] " + read answer + else + answer=y + fi + # Outdent case "$answer" in [yY]) for f in $dist_list_files; do if [ -f "${DISTDIR}${f}" ]; then @@ -2756,7 +2763,7 @@ if [ -e "$pdb/$upg_port/+IGNOREME" ]; then dep_of_deps=$(( $dep_of_deps - 1 )) if [ -n "$CONFIG_ONLY" ]; then num_of_deps=$(( $num_of_deps - 1 )) - build_l="${build_l%\t*}" + build_l="${build_l%\\t*}" fi fi # Outdent |