[pisa-src] r2255 - in trunk: openwrt/build-maemo.sh tools/pisa_autobuild.sh

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 07 Apr 2010 19:41:31 +0200

Author: biurrun
Date: Wed Apr  7 19:41:30 2010
New Revision: 2255

Log:
Do not assume the scratchbox home path is the same as the system home path.

Modified:
   trunk/openwrt/build-maemo.sh
   trunk/tools/pisa_autobuild.sh

Modified: trunk/openwrt/build-maemo.sh
==============================================================================
--- trunk/openwrt/build-maemo.sh        Wed Apr  7 18:57:01 2010        (r2254)
+++ trunk/openwrt/build-maemo.sh        Wed Apr  7 19:41:30 2010        (r2255)
@@ -15,7 +15,7 @@
 
 ### DON'T CHANGE BELOW THIS LINE ###
 
-SCRATCHBOX_HOME=$SCRATCHBOX/users/${USER}${HOME}
+SCRATCHBOX_HOME=$SCRATCHBOX/users/$USER/home/$USER
 
 if [ $DEBUG = "no" ]; then
     # Silence output to stdout

Modified: trunk/tools/pisa_autobuild.sh
==============================================================================
--- trunk/tools/pisa_autobuild.sh       Wed Apr  7 18:57:01 2010        (r2254)
+++ trunk/tools/pisa_autobuild.sh       Wed Apr  7 19:41:30 2010        (r2255)
@@ -13,7 +13,7 @@
 BUILD_DIR=$AUTOBUILD_DIR/pisa
 OPENWRT_DIR=$AUTOBUILD_DIR/openwrt
 SCRATCHBOX_DIR="/srv/power/scratchbox"
-SCRATCHBOX_HOME=$SCRATCHBOX_DIR/users/${USER}${HOME}
+SCRATCHBOX_HOME=$SCRATCHBOX_DIR/users/$USER/home/$USER
 
 PROJECT_DIR=/srv/projects/pisa
 PROJECT_BIN_DIR=$PROJECT_DIR/bin/autobuild

Other related posts:

  • » [pisa-src] r2255 - in trunk: openwrt/build-maemo.sh tools/pisa_autobuild.sh - Diego Biurrun