Author: jberry
Date: Sat May 28 13:15:55 2005
New Revision: 178886

URL: http://svn.apache.org/viewcvs?rev=178886&view=rev
Log:
Test another pretty-make version

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=178886&r1=178885&r2=178886&view=diff
==============================================================================
--- xerces/c/branches/jberry/3.0-unstable/config/pretty-make (original)
+++ xerces/c/branches/jberry/3.0-unstable/config/pretty-make Sat May 28 
13:15:55 2005
@@ -28,8 +28,10 @@
 shift
 
 cmd=$@
-shift $(($#-1))
-target=$1
+while [ $# -gt 0 ]; do
+       [ "${1##-*}" ] && target=$1
+       shift
+done
 
 echo $action $target
 



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

Reply via email to