[hipl-commit] [trunk] Rev 3801: Pass command line parameters to newly-invoked script instances.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 4 Mar 2010 18:19:28 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: Thu Mar 04 17:19:07 2010 +0100
Revision: 3801
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Pass command line parameters to newly-invoked script instances.

Modified:
  M  tools/hipl_autobuild

=== modified file 'tools/hipl_autobuild'
--- tools/hipl_autobuild        2010-03-03 18:05:47 +0000
+++ tools/hipl_autobuild        2010-03-04 16:19:07 +0000
@@ -56,7 +56,7 @@
 if test "$HIPL_AUTOBUILDER" = "yes" && ! cmp -s "$0" "$AUTOBUILD_SCRIPT" ; then
     cp "$AUTOBUILD_SCRIPT" $0
     rm -rf "$CHECKOUT_DIR"
-    exec $0
+    exec $0 $@
 fi
 
 cd "$CHECKOUT_DIR"

Other related posts:

  • » [hipl-commit] [trunk] Rev 3801: Pass command line parameters to newly-invoked script instances. - Diego Biurrun