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/05/28 21:23:33 UTC
svn commit: r178881 -
/xerces/c/branches/jberry/3.0-unstable/config/pretty-make
Author: jberry
Date: Sat May 28 12:23:32 2005
New Revision: 178881
URL: http://svn.apache.org/viewcvs?rev=178881&view=rev
Log:
Make pretty-make survive across non-bash sh
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=178881&r1=178880&r2=178881&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 12:23:32 2005
@@ -27,14 +27,11 @@
action=$1
shift
-args=("$@")
-target=${args[$#-1]}
+cmd=$@
+shift $(($#-1))
+target=$1
echo $action $target
-if [ ${VERBOSE} ]; then
- echo $@
-fi
-$@
-
-
+[ ${VERBOSE} ] && echo $cmd
+$cmd
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org