Revision: 41429
http://brlcad.svn.sourceforge.net/brlcad/?rev=41429&view=rev
Author: brlcad
Date: 2010-11-23 01:51:12 +0000 (Tue, 23 Nov 2010)
Log Message:
-----------
ah, right. support VARIABLE=value arguments. also give more informative
failure if we can't find MGED.
Modified Paths:
--------------
brlcad/trunk/sh/conversion.sh
Modified: brlcad/trunk/sh/conversion.sh
===================================================================
--- brlcad/trunk/sh/conversion.sh 2010-11-23 01:42:16 UTC (rev 41428)
+++ brlcad/trunk/sh/conversion.sh 2010-11-23 01:51:12 UTC (rev 41429)
@@ -154,6 +154,16 @@
VERBOSE=1
shift
;;
+ x*=*)
+ VAR=`echo $arg | sed 's/=.*//g'`
+ if test ! "x$VAR" = "x" ; then
+ VAL=`echo $arg | sed 's/.*=//g'`
+ CMD="$VAR=$VAL"
+ eval $CMD
+ export $VAR
+ fi
+ shift
+ ;;
x*)
;;
esac
@@ -284,7 +294,12 @@
# commands that this script expects
MGED="`which $GED`"
if test ! -f "$MGED" ; then
- $ECHO "Unable to find $GED, aborting"
+ echo "ERROR: Unable to find $GED"
+ echo ""
+ echo "Configure the GED variable or check your PATH."
+ echo "Run '$0 instructions' for additional information."
+ echo ""
+ echo "Aborting."
exit 1
fi
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits