[52005] users/ryandesign/no_default_gcc/cc

ryandesign at macports.org ryandesign at macports.org
Sun Jun 7 22:22:44 PDT 2009


Revision: 52005
          http://trac.macports.org/changeset/52005
Author:   ryandesign at macports.org
Date:     2009-06-07 22:22:44 -0700 (Sun, 07 Jun 2009)
Log Message:
-----------
no_default_gcc script: reword error message and print it after, not before, the command that was attempted

Modified Paths:
--------------
    users/ryandesign/no_default_gcc/cc

Modified: users/ryandesign/no_default_gcc/cc
===================================================================
--- users/ryandesign/no_default_gcc/cc	2009-06-08 04:56:05 UTC (rev 52004)
+++ users/ryandesign/no_default_gcc/cc	2009-06-08 05:22:44 UTC (rev 52005)
@@ -14,7 +14,7 @@
 		;;
 esac
 
-echo "Error: You tried to use $PROG instead of /usr/bin/$NEWPROG-*:" 1>&2
 echo "$PROG $@" 1>&2
+echo "$PROG: Error: You should be using /usr/bin/$NEWPROG-*:" 1>&2
 echo "See http://trac.macports.org/wiki/UsingTheRightCompiler" 1>&2
 exit 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090607/34feaf56/attachment-0001.html>


More information about the macports-changes mailing list