svn commit: r238712 - user/dougb/portmaster

Doug Barton dougb at FreeBSD.org
Mon Jul 23 04:48:59 UTC 2012


Author: dougb
Date: Mon Jul 23 04:48:58 2012
New Revision: 238712
URL: http://svn.freebsd.org/changeset/base/238712

Log:
  When -r, print a clearer message for term-title about what we're doing
  when we are going through the ports that depend on the -r port(s)
  
  If there is an installed version, always print that message, not just
  when we're in the parent

Modified:
  user/dougb/portmaster/portmaster

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Mon Jul 23 03:55:19 2012	(r238711)
+++ user/dougb/portmaster/portmaster	Mon Jul 23 04:48:58 2012	(r238712)
@@ -2876,14 +2876,16 @@ multiport () {
 		*)		numports=$(( $numports - 1 )) ;;
 		esac
 	done
-	PM_PARENT_PORT="Total ports: $numports"
 
 	if [ -n "$PM_URB" ]; then
+		PM_PARENT_PORT="Checking -r ports"
 		unset PM_URB ; PM_URB=pm_urb_post_first_pass
 		PM_URB_DONE=":${udl_prime}" ; export PM_URB_DONE
 		urb_update
 	fi
 
+	PM_PARENT_PORT="Total ports: $numports"
+
 	check_fetch_only
 	post_first_pass multiple ports
 
@@ -3272,8 +3274,7 @@ else
 fi
 
 echo ''
-[ "$$" -eq "$PM_PARENT_PID" -a -n "$upg_port" ] &&
-	echo "===>>> Currently installed version: $upg_port"
+[ -n "$upg_port" ] && echo "===>>> Currently installed version: $upg_port"
 
 echo "===>>> Port directory: $pd/$portdir" ; echo ''
 


More information about the svn-src-user mailing list