summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-30 00:28:10 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-30 00:28:10 +0200
commite2b2441d86b06f7bec5235053d4656a7cc459a26 (patch)
tree13fc8319a6f329e53edb6789eb26054b74515ba1 /scripts
parentecc1d7a0c239fa2d262e42dbbc0b0ac1893b71be (diff)
downloadvyos-live-build-e2b2441d86b06f7bec5235053d4656a7cc459a26.tar.gz
vyos-live-build-e2b2441d86b06f7bec5235053d4656a7cc459a26.zip
Adding messages about performing git operations when using --config.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_config2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config
index 466f04f7c..23d44a9e5 100755
--- a/scripts/build/lb_config
+++ b/scripts/build/lb_config
@@ -874,12 +874,14 @@ if [ -n "${_CONFIG}" ]
then
_GIT_REPOSITORY="$(echo ${_CONFIG} | sed -e 's|::.*$||')"
+ Echo_message "Cloning ${_GIT_REPOSITORY}"
git clone ${_GIT_REPOSITORY} ./
if [ "${_GIT_REPOSITORY}" != "${_CONFIG}" ]
then
_GIT_BRANCH="$(echo ${_CONFIG} | awk -F\:\: '{ print $NF }')"
+ Echo_message "Checking out ${_GIT_BRANCH}"
git checkout ${_GIT_BRANCH}
fi
fi