[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5229: Updated bzr-update-hipl maintainer script

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Tue, 30 Nov 2010 15:24:37 -0000

------------------------------------------------------------
revno: 5229
committer: Miika Komu <miika@xxxxxx>
branch nick: trunk
timestamp: Tue 2010-11-30 17:23:28 +0200
message:
  Updated bzr-update-hipl       maintainer script
  
  Diego suggested to few changes on the mailing list:
  
  * Creating the changelog in /tmp with a predictable name is a security
    hole.  Just create it in $TMP_DIR instead.
  * Just do this in one go: bzr checkout lp:hipl $BRANCH
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-29 10:21:43 +0000
+++ tools/maintainer/bzr-update-hipl    2010-11-30 15:23:28 +0000
@@ -9,7 +9,7 @@
 BRANCH=trunk
 WWW_DIR=/var/www/infrahip/html/hipl
 OUTPUT_FILE=$WWW_DIR/hipl.tar.gz
-CHANGE_LOG_FILE=/tmp/ChangeLog
+CHANGE_LOG_FILE=$TMP_DIR/ChangeLog
 
 # Update to the latest version and check out what patches need to be generated
 #
@@ -21,8 +21,7 @@
     cd $TMP_DIR
     bzr init-repo hipl-bzr
     cd hipl-bzr
-    bzr checkout lp:hipl
-    mv hipl $BRANCH
+    bzr checkout lp:hipl $BRANCH
     cd $BRANCH
 fi
 

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5229: Updated bzr-update-hipl maintainer script - noreply