From: Ben Gras Date: Wed, 13 Feb 2013 19:15:02 +0000 (+0000) Subject: release.sh: allow REPO and GITBRANCH env override X-Git-Tag: v3.2.1~5 X-Git-Url: http://zhaoyanbai.com/repos/host.html?a=commitdiff_plain;h=38c4489ef01ec0c7e9316f4406e8646f86202e6c;p=minix.git release.sh: allow REPO and GITBRANCH env override patch by Antoine Leca Change-Id: Iabcf1189d8b5250536bb17e650f48f0e73fcde2c --- diff --git a/releasetools/release.sh b/releasetools/release.sh index 209652c58..3accf4031 100755 --- a/releasetools/release.sh +++ b/releasetools/release.sh @@ -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