[pisa-src] r2250 - trunk/openwrt/build-maemo.sh

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 07 Apr 2010 18:34:30 +0200

Author: biurrun
Date: Wed Apr  7 18:34:29 2010
New Revision: 2250

Log:
Rename SCRATCHBOX_PATH variable to the more fitting SCRATCHBOX_HOME.

Modified:
   trunk/openwrt/build-maemo.sh

Modified: trunk/openwrt/build-maemo.sh
==============================================================================
--- trunk/openwrt/build-maemo.sh        Wed Apr  7 16:42:05 2010        (r2249)
+++ trunk/openwrt/build-maemo.sh        Wed Apr  7 18:34:29 2010        (r2250)
@@ -15,7 +15,7 @@
 
 ### DON'T CHANGE BELOW THIS LINE ###
 
-SCRATCHBOX_PATH=$SCRATCHBOX/users/$USER/home/$USER
+SCRATCHBOX_HOME=$SCRATCHBOX/users/$USER/home/$USER
 
 if [ $DEBUG = "no" ]; then
     # Silence output to stdout
@@ -32,8 +32,8 @@
     exit 1
 fi
 
-if [ ! -e $SCRATCHBOX_PATH ]; then
-    echo_to_stderr "ERROR: $SCRATCHBOX_PATH does not exist. Maybe you have not 
been added as a user!"
+if [ ! -e $SCRATCHBOX_HOME ]; then
+    echo_to_stderr "ERROR: $SCRATCHBOX_HOME does not exist. Maybe you have not 
been added as a user!"
     exit 1
 fi
 
@@ -58,9 +58,9 @@
 
     echo_to_stderr "-> Building HIPL"
     echo_to_stderr "    Unapcking tarball..."
-    rm -rf $SCRATCHBOX_PATH/hipl*
-    tar -xvzf $HIPL/hipl-main.tar.gz -C $SCRATCHBOX_PATH
-    mv $SCRATCHBOX_PATH/hipl-main $SCRATCHBOX_PATH/hipl-1.0.6
+    rm -rf $SCRATCHBOX_HOME/hipl*
+    tar -xvzf $HIPL/hipl-main.tar.gz -C $SCRATCHBOX_HOME
+    mv $SCRATCHBOX_HOME/hipl-main $SCRATCHBOX_HOME/hipl-1.0.6
     echo_to_stderr "    Done."
 
     echo_to_stderr "    Compiling HIPL for Maemo..."
@@ -93,8 +93,8 @@
 
     echo_to_stderr "-> Building PISA"
     echo_to_stderr "    Unpacking tarball..."
-    rm -rf $SCRATCHBOX_PATH/pisa*
-    tar -xvzf $PISA/pisa-$PISA_VERSION.tar.gz -C $SCRATCHBOX_PATH
+    rm -rf $SCRATCHBOX_HOME/pisa*
+    tar -xvzf $PISA/pisa-$PISA_VERSION.tar.gz -C $SCRATCHBOX_HOME
     echo_to_stderr "    Done."
 
     echo_to_stderr "    Compiling PISA for Maemo..."

Other related posts:

  • » [pisa-src] r2250 - trunk/openwrt/build-maemo.sh - Diego Biurrun