[hipl-commit] [trunk] Rev 4054: Quote $@ invocation in run_program().

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Fri, 26 Mar 2010 01:34:46 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 26/03/2010 at 01:34:46
Revision: 4054
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Quote $@ invocation in run_program().

Modified:
  M  tools/hipl_autobuild.sh

=== modified file 'tools/hipl_autobuild.sh'
--- tools/hipl_autobuild.sh     2010-03-25 23:24:19 +0000
+++ tools/hipl_autobuild.sh     2010-03-25 23:34:10 +0000
@@ -21,7 +21,7 @@
 # helper functions
 run_program()
 {
-    $@ > log.txt 2>&1
+    "$@" > log.txt 2>&1
     if [ $? -eq 0 ] ; then
         rm -f log.txt
         return 0

Other related posts:

  • » [hipl-commit] [trunk] Rev 4054: Quote $@ invocation in run_program(). - Diego Biurrun