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

jmpp at macports.org jmpp at macports.org
Tue Dec 11 14:28:03 PST 2007


Revision: 31915
          http://trac.macosforge.org/projects/macports/changeset/31915
Author:   jmpp at macports.org
Date:     2007-12-11 14:28:02 -0800 (Tue, 11 Dec 2007)

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

Again per Wilfredo Sanchez's advice, write our tcsh settings to a tcshrc file, not cshrc.

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-11 22:26:37 UTC (rev 31914)
+++ branches/release_1_6/base/portmgr/dmg/postflight	2007-12-11 22:28:02 UTC (rev 31915)
@@ -42,7 +42,7 @@
 }
 case "$USHELL" in
     tcsh)
-        CONF_FILE=cshrc
+        CONF_FILE=tcshrc
         ;;
     bash)
         CONF_FILE=profile
@@ -71,14 +71,14 @@
         PATH)
             if [ "$CONF_FILE" == "profile" ]; then
                 echo "export PATH=$BINPATH:$SBINPATH:\$PATH" >> $HOME/.$CONF_FILE
-            elif [ "$CONF_FILE" == "cshrc" ]; then
+            elif [ "$CONF_FILE" == "tcshrc" ]; then
                 echo "set path=($BINPATH $SBINPATH" '$path'")" >> $HOME/.$CONF_FILE
             fi
             ;;
         MANPATH)
             if [ "$CONF_FILE" == "profile" ]; then
                 echo "export MANPATH=$MANPAGES:\$MANPATH" >> $HOME/.$CONF_FILE
-            elif [ "$CONF_FILE" == "cshrc" ]; then
+            elif [ "$CONF_FILE" == "tcshrc" ]; then
                 echo "set manpath=($MANPAGES" '$manpath'")" >> $HOME/.$CONF_FILE
             fi
         ;;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071211/81c7bb5e/attachment.html


More information about the macports-changes mailing list