Revision: 41432
http://brlcad.svn.sourceforge.net/brlcad/?rev=41432&view=rev
Author: brlcad
Date: 2010-11-23 06:22:57 +0000 (Tue, 23 Nov 2010)
Log Message:
-----------
put 'instructions' before 'help' so we can get to it without a .g specified.
Modified Paths:
--------------
brlcad/trunk/sh/conversion.sh
Modified: brlcad/trunk/sh/conversion.sh
===================================================================
--- brlcad/trunk/sh/conversion.sh 2010-11-23 04:05:35 UTC (rev 41431)
+++ brlcad/trunk/sh/conversion.sh 2010-11-23 06:22:57 UTC (rev 41432)
@@ -185,37 +185,7 @@
# validate and clean up options (all default to 0)
booleanize HELP INSTRUCTIONS VERBOSE
-if test $# -eq 0 ; then
- echo "No geometry files specified."
- echo ""
- HELP=1
-fi
-
###
-# handle help before main processing
-###
-if test "x$HELP" = "x1" ; then
- echo "Usage: $0 [command(s)] [OPTION=value] file1.g [file2.g ...]"
- echo ""
- echo "Available commands:"
- echo " help (this is what you are reading right now)"
- echo " instructions"
- echo " quiet"
- echo " verbose"
- echo ""
- echo "Available options:"
- echo " GED=/path/to/geometry/editor (default mged)"
- echo " MAXTIME=#seconds (default 30)"
- echo ""
- echo "BRL-CAD is a powerful cross-platform open source solid modeling
system."
- echo "For more information about BRL-CAD, see http://brlcad.org"
- echo ""
- echo "Run '$0 instructions' for additional information."
- exit 1
-fi
-
-
-###
# handle instructions before main processing
###
if test "x$INSTRUCTIONS" = "x1" ; then
@@ -254,6 +224,36 @@
fi
+if test $# -eq 0 ; then
+ echo "No geometry files specified."
+ echo ""
+ HELP=1
+fi
+
+###
+# handle help before main processing
+###
+if test "x$HELP" = "x1" ; then
+ echo "Usage: $0 [command(s)] [OPTION=value] file1.g [file2.g ...]"
+ echo ""
+ echo "Available commands:"
+ echo " help (this is what you are reading right now)"
+ echo " instructions"
+ echo " quiet"
+ echo " verbose"
+ echo ""
+ echo "Available options:"
+ echo " GED=/path/to/geometry/editor (default mged)"
+ echo " MAXTIME=#seconds (default 30)"
+ echo ""
+ echo "BRL-CAD is a powerful cross-platform open source solid modeling
system."
+ echo "For more information about BRL-CAD, see http://brlcad.org"
+ echo ""
+ echo "Run '$0 instructions' for additional information."
+ exit 1
+fi
+
+
#############
# B E G I N #
#############
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