[hipl-commit] [trunk] Rev 3805: Remove autoupdate capabilities.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 4 Mar 2010 19:40:33 +0200

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: Thu Mar 04 18:39:53 2010 +0100
Revision: 3805
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove autoupdate capabilities.
  The script is now updated through Bazaar by the autobuild user.

Modified:
  M  tools/hipl_autobuild

=== modified file 'tools/hipl_autobuild'
--- tools/hipl_autobuild        2010-03-04 16:59:03 +0000
+++ tools/hipl_autobuild        2010-03-04 17:39:53 +0000
@@ -14,7 +14,6 @@
 BRANCH_REVISION=$(bzr revno -q $BRANCH_URL)
 BRANCH_REVISION_FILE=$BUILD_DIR/HIPL_REVISION_$BRANCH_NAME
 AUTOBUILD_REVISION=$(cat $BRANCH_REVISION_FILE)
-AUTOBUILD_SCRIPT="$CHECKOUT_DIR/tools/hipl_autobuild"
 
 # helper functions
 run_program()
@@ -51,15 +50,6 @@
 
 bzr checkout -q --lightweight $BRANCH_URL $CHECKOUT_DIR
 
-# Perform a self-update if the autobuild script in the repository has changed.
-# Only do this when running as the autobuild user so as not to interfere with
-# manual testing of this script.
-if test "$HIPL_AUTOBUILDER" = "yes" && ! cmp -s "$0" "$AUTOBUILD_SCRIPT" ; then
-    cp "$AUTOBUILD_SCRIPT" $0
-    rm -rf "$CHECKOUT_DIR"
-    exec $0 $@
-fi
-
 cd "$CHECKOUT_DIR"
 
 # Compile HIPL in different configurations

Other related posts:

  • » [hipl-commit] [trunk] Rev 3805: Remove autoupdate capabilities. - Diego Biurrun