aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2009-08-07 01:06:02 +0800
committerdougb <dougb@FreeBSD.org>2009-08-07 01:06:02 +0800
commitf98c5c3b5c326ee24e6d5e0e32ebc1485b2cad98 (patch)
treeb2cb4a4878add86d57d4f011e58ae6c5f12365e3 /ports-mgmt
parent092239fb78271f3c145f4adba01fe0a6c2fff3ff (diff)
downloadfreebsd-ports-gnome-f98c5c3b5c326ee24e6d5e0e32ebc1485b2cad98.tar.gz
freebsd-ports-gnome-f98c5c3b5c326ee24e6d5e0e32ebc1485b2cad98.tar.zst
freebsd-ports-gnome-f98c5c3b5c326ee24e6d5e0e32ebc1485b2cad98.zip
In multiport() add a check_interactive() for every port in the list
when using the -i option. This is a minor inconvenience for those users that give a list of specific ports on the command line, but a huge benefit for users who use a glob pattern that can easily match things that don't need to be rebuilt.
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/files/portmaster.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in
index c2d892d2b7c8..3879ebd8506b 100644
--- a/ports-mgmt/portmaster/files/portmaster.sh.in
+++ b/ports-mgmt/portmaster/files/portmaster.sh.in
@@ -42,7 +42,7 @@ umask 022
version () {
local rcs cvs
- rcs='$Id: portmaster,v 2.43 2009/07/29 22:14:39 dougb Exp $'
+ rcs='$Id: portmaster,v 2.44 2009/08/06 17:00:01 dougb Exp $'
cvs='$FreeBSD$'
rcs="${rcs#*,v }" ; rcs="${rcs%% *}"
@@ -1700,6 +1700,7 @@ multiport () {
if [ -n "$CONFIG_ONLY" ]; then
for port in $worklist; do
+ check_interactive $port || continue
($0 $ARGS $port) || fail "Update for $port failed"
. $IPC_SAVE
done
@@ -1719,6 +1720,7 @@ multiport () {
[ -d "$pdb/$port" ] || continue
;;
esac
+ check_interactive $port || continue
($0 $ARGS $port) || fail "Update for $port failed"
. $IPC_SAVE
done