Author: jberry
Date: Tue Jun  7 19:39:31 2005
New Revision: 189496

URL: http://svn.apache.org/viewcvs?rev=189496&view=rev
Log:
Try to be more bourne sh compatible; thanks Greg Franks.

Modified:
    xerces/c/branches/jberry/3.0-unstable/config/pretty-make

Modified: xerces/c/branches/jberry/3.0-unstable/config/pretty-make
URL: 
http://svn.apache.org/viewcvs/xerces/c/branches/jberry/3.0-unstable/config/pretty-make?rev=189496&r1=189495&r2=189496&view=diff
==============================================================================
--- xerces/c/branches/jberry/3.0-unstable/config/pretty-make (original)
+++ xerces/c/branches/jberry/3.0-unstable/config/pretty-make Tue Jun  7 
19:39:31 2005
@@ -37,7 +37,13 @@
 # adds additional flags, which throws this off. So we look
 # for the last arg that doesn't start with -.
 while [ $# -gt 0 ]; do
-       [ "${1##-*}" ] && target=$1
+       case ${1} in
+       -*)
+               ;;
+       *)
+               target=$1
+               ;;
+       esac
        shift
 done
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to