]> Zhao Yanbai Git Server - minix.git/commitdiff
release.sh: allow REPO and GITBRANCH env override 29/329/2
authorBen Gras <ben@minix3.org>
Wed, 13 Feb 2013 19:15:02 +0000 (19:15 +0000)
committerBen Gras <ben@minix3.org>
Wed, 13 Feb 2013 19:20:33 +0000 (19:20 +0000)
patch by Antoine Leca

Change-Id: Iabcf1189d8b5250536bb17e650f48f0e73fcde2c

releasetools/release.sh

index 209652c58e531aa04875ccd53c8d25ae452f4d65..3accf4031fcca138508f6dbd09cb0a1ab6982c56 100755 (executable)
@@ -9,8 +9,8 @@ version="`echo $version_pretty | tr . _`"
 PACKAGEDIR=/usr/pkgsrc/packages/$version_pretty/`uname -m`
 
 SRC=src
-REPO=git://git.minix3.org/minix
-GITBRANCH=master
+: ${REPO:=git://git.minix3.org/minix}
+: ${GITBRANCH:=master}
 
 # List of packages included on installation media
 PACKAGELIST=packages.install