You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2005/06/08 04:39:31 UTC

svn commit: r189496 - /xerces/c/branches/jberry/3.0-unstable/config/pretty-make

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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org