svn commit: r216877 - user/dougb/portmaster

Doug Barton dougb at FreeBSD.org
Sat Jan 1 20:33:47 UTC 2011


Author: dougb
Date: Sat Jan  1 20:33:46 2011
New Revision: 216877
URL: http://svn.freebsd.org/changeset/base/216877

Log:
  After checking for WRKDIRPREFIX do 'cd -' so that 'portmaster .' will work
  
  Update copyright date

Modified:
  user/dougb/portmaster/portmaster

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Sat Jan  1 20:17:29 2011	(r216876)
+++ user/dougb/portmaster/portmaster	Sat Jan  1 20:33:46 2011	(r216877)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Copyright (c) 2005-2010 Douglas Barton, All rights reserved
+# Copyright (c) 2005-2011 Douglas Barton, All rights reserved
 # Please see detailed copyright below
 
 trap trap_exit INT
@@ -791,7 +791,7 @@ if [ "$$" -eq "$PM_PARENT_PID" ]; then
 	fi
 
 	if [ -n "$pd" ]; then
-		pm_cd_pd && PM_WRKDIRPREFIX=`pm_make_b -V WRKDIRPREFIX`
+		pm_cd_pd && PM_WRKDIRPREFIX=`pm_make_b -V WRKDIRPREFIX` && pm_cd -
 		export pd
 	else
 		if [ -n "$EXPUNGE" -o -n "$CLEAN_STALE" ]; then
@@ -3736,7 +3736,7 @@ safe_exit
 
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-#  Copyright (c) 2005-2010 Douglas Barton
+#  Copyright (c) 2005-2011 Douglas Barton
 #  All rights reserved.
 #
 #  Redistribution and use in source and binary forms, with or without


More information about the svn-src-user mailing list