Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2011 20:33:47 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r216877 - user/dougb/portmaster
Message-ID:  <201101012033.p01KXls9021055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101012033.p01KXls9021055>