[hipl-commit] [trunk] Rev 4502: autobuild: Make sure that the USER environment variable is set.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 12 May 2010 19:13:00 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 12/05/2010 at 19:13:00
Revision: 4502
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  autobuild: Make sure that the USER environment variable is set.

Modified:
  M  tools/hipl_autobuild.sh

=== modified file 'tools/hipl_autobuild.sh'
--- tools/hipl_autobuild.sh     2010-05-12 16:09:38 +0000
+++ tools/hipl_autobuild.sh     2010-05-12 16:12:02 +0000
@@ -123,7 +123,12 @@
 run_program "make -j17 package/hipl-clean V=99"
 run_program "make -j17 package/hipl-install V=99"
 
+
 # Crosscompile HIPL in a scratchbox environment.
+
+# scratchbox complains if USER is undefined
+USER=$LOGNAME
+
 CONFIGURATION="Scratchbox ARM crosscompile"
 cd $SCRATCHBOX_HOME || cleanup 1
 run_program "rm -rf hipl-main* hipl_*.changes hipl_*.deb"

Other related posts:

  • » [hipl-commit] [trunk] Rev 4502: autobuild: Make sure that the USER environment variable is set. - Diego Biurrun