diff options
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2015-02-14 11:52:03 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-14 22:06:24 +0100
commita578ebd2966350d21b8b6d74f101eb57bdfb285b (patch)
parentdf8198a69a36e35979e130b383ac6e50a548a32f (diff)
br-reproduce-build: accept BASE_GIT and OUTPUT_DIR from the env
Currently, when we want to set those variables, one has to edit the script, so would get a conflict on the next git-pull. Instead, allow the user to specify those variables in the environment. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/br-reproduce-build b/utils/br-reproduce-build
index 7b4961c..a84bd5a 100755
--- a/utils/br-reproduce-build
+++ b/utils/br-reproduce-build
@@ -3,12 +3,12 @@
# A directory that contains an existing Git repository of
# Buildroot. The script will git clone from it instead of git cloning
# from the official repo, in order to reduce the clone time.
# Location where the output directories will be created. One
# subdirectory, named after the build ID will be created for each
# build.
if [ $# -ne 1 ] ; then
echo "Usage: $0 buildid" ;