[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5192: Updated maintainer script

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Fri, 26 Nov 2010 21:29:31 -0000

------------------------------------------------------------
revno: 5192
committer: Miika Komu <miika@xxxxxx>
branch nick: trunk
timestamp: Fri 2010-11-26 23:27:47 +0200
message:
  Updated maintainer script
  
  Rationalized naming convention of variables. Corrected bzr repository 
  address when fetching new it for the first time and fixed a missing
  directory change.
modified:
  tools/maintainer/bzr-update-hipl


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'tools/maintainer/bzr-update-hipl'
--- tools/maintainer/bzr-update-hipl    2010-11-26 20:14:54 +0000
+++ tools/maintainer/bzr-update-hipl    2010-11-26 21:27:47 +0000
@@ -6,7 +6,7 @@
 
 # Use abs dir names in TMP_DIR, WWW_DIR and OUTPUT_FILE
 TMP_DIR=~/.bzr-hipl-cache
-REVISION=trunk
+BRANCH=trunk
 WWW_DIR=/var/www/infrahip/html/hipl
 OUTPUT_FILE=$WWW_DIR/hipl.tar.gz
 CHANGE_LOG_FILE=/tmp/ChangeLog
@@ -16,14 +16,16 @@
 #
 if test -x  $TMP_DIR
 then
-    cd $TMP_DIR/hipl-bzr/$REVISION
+    cd $TMP_DIR/hipl-bzr/$BRANCH
     bzr update
 else
     mkdir $TMP_DIR
+    cd $TMP_DIR
     bzr init-repo hipl-bzr
     cd hipl-bzr
-    bzr checkout file:///var/archive/hipl-bzr/$REVISION
-    cd $REVISION
+    bzr checkout lp:hipl
+    mv hipl $BRANCH
+    cd $BRANCH
 fi
 
 VERSION=$(grep '^AC_INIT' configure.ac|cut -d'[' -f 3|cut -d']' -f1)

Other related posts: