[pisa-src] r907 - trunk/tools/subversion

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 02 Sep 2009 15:56:54 +0200

Author: biurrun
Date: Wed Sep  2 15:56:54 2009
New Revision: 907

Log:
Do not depend on '-i' option of GNU sed.

Modified:
   trunk/tools/subversion/pisa_runautobuild

Modified: trunk/tools/subversion/pisa_runautobuild
==============================================================================
--- trunk/tools/subversion/pisa_runautobuild    Wed Sep  2 15:44:56 2009        
(r906)
+++ trunk/tools/subversion/pisa_runautobuild    Wed Sep  2 15:56:54 2009        
(r907)
@@ -54,7 +54,8 @@
 # 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,2,3 | cut -d - -f 2)
-sed -i -e "s/PKG_VERSION:=.*/PKG_VERSION:=$WRT_PISA_VERSION/" 
package/pisa/Makefile
+sed -e "s/PKG_VERSION:=.*/PKG_VERSION:=$WRT_PISA_VERSION/" 
package/pisa/Makefile > package/pisa/Makefile.tmp
+mv package/pisa/Makefile.tmp package/pisa/Makefile
 run_program make -j16 package/pisa-install V=99
 
 echo $PISA_HEAD_REVISION > $BUILD_DIR/PISA_HEAD_REVISION

Other related posts:

  • » [pisa-src] r907 - trunk/tools/subversion - Diego Biurrun