[pisa-src] r2165 - trunk/tools/pisa_autobuild

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 18 Mar 2010 09:45:52 +0100

Author: biurrun
Date: Thu Mar 18 09:45:51 2010
New Revision: 2165

Log:
Quote run_program() arguments so that they get treated as a single parameter.
Only the first parameter of run_program is later passed on to mail_notify().

Modified:
   trunk/tools/pisa_autobuild

Modified: trunk/tools/pisa_autobuild
==============================================================================
--- trunk/tools/pisa_autobuild  Thu Mar 18 02:22:05 2010        (r2164)
+++ trunk/tools/pisa_autobuild  Thu Mar 18 09:45:51 2010        (r2165)
@@ -76,17 +76,17 @@
 compile fullfeatured --disable-debug --enable-logging --enable-performance
 
 # Compile PISA within an OpenWrt checkout
-run_program rm -f $BUILD_DIR/openwrt/dl/pisa*.tar.gz
+run_program "rm -f $BUILD_DIR/openwrt/dl/pisa*.tar.gz"
 PISA_TARBALL=$(ls pisa*tar.gz)
-run_program cp $PISA_TARBALL $BUILD_DIR/openwrt/dl
+run_program "cp $PISA_TARBALL $BUILD_DIR/openwrt/dl"
 cd $BUILD_DIR/openwrt
-run_program rm -rf package/pisa
-run_program cp -r $CHECKOUT_DIR/openwrt/package/pisa package/
+run_program "rm -rf package/pisa"
+run_program "cp -r $CHECKOUT_DIR/openwrt/package/pisa package/"
 # Patch the PISA package OpenWrt Makefile.
 # We have no error handling here - we expect errors to be caught by Make.
 WRT_PISA_VERSION=$(echo $PISA_TARBALL | cut -d . -f 1-3 | cut -d - -f 2)
 sed -e "s/PKG_VERSION:=.*/PKG_VERSION:=$WRT_PISA_VERSION/" 
$CHECKOUT_DIR/openwrt/package/pisa/Makefile > package/pisa/Makefile
-run_program make -j17 package/pisa-clean V=99
-run_program make -j17 package/pisa-install V=99
+run_program "make -j17 package/pisa-clean V=99"
+run_program "make -j17 package/pisa-install V=99"
 
 cleanup 0

Other related posts:

  • » [pisa-src] r2165 - trunk/tools/pisa_autobuild - Diego Biurrun