[31688] branches/release_1_6/base/portmgr/dmg/postflight

jmpp at macports.org jmpp at macports.org
Mon Dec 3 01:02:51 PST 2007


Revision: 31688
          http://trac.macosforge.org/projects/macports/changeset/31688
Author:   jmpp at macports.org
Date:     2007-12-03 01:02:44 -0800 (Mon, 03 Dec 2007)

Log Message:
-----------

Cosmetic changes only:

 * Abstract our binpath and sbinpath variables off a predefined prefix;
 * Improve some echo'd comments.

Modified Paths:
--------------
    branches/release_1_6/base/portmgr/dmg/postflight

Modified: branches/release_1_6/base/portmgr/dmg/postflight
===================================================================
--- branches/release_1_6/base/portmgr/dmg/postflight	2007-12-03 08:59:46 UTC (rev 31687)
+++ branches/release_1_6/base/portmgr/dmg/postflight	2007-12-03 09:02:44 UTC (rev 31688)
@@ -31,14 +31,15 @@
 # $Id$
 
 
-BINPATH=/opt/local/bin
-SBINPATH=/opt/local/sbin
+PREFIX=/opt/local
+BINPATH=$PREFIX/bin
+SBINPATH=$PREFIX/sbin
 
 
-echo -e "\nChecking the PATH variable for $USER...\n"
+echo -e "\nChecking the PATH and MANPATH variables for user $USER...\n"
 
 if $SHELL -c "/usr/bin/printenv PATH" | grep -c $BINPATH > /dev/null; then
-    echo "You already have the right PATH!"
+    echo "You already have the right PATH variable!"
 else
     USHELL=`basename $SHELL`
     echo "Setting the PATH of $USHELL for $USER in ${HOME:=/Users/$USER}..."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071203/072fa2bc/attachment.html


More information about the macports-changes mailing list