diff options
author | Daniel Baumann <daniel@debian.org> | 2012-07-28 20:37:19 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-07-28 20:37:19 +0200 |
commit | 28cd477e7edf84936bfe7670ff4a7c052df35b9a (patch) | |
tree | 728c0cf29a813cdc6a599cc169bd1b3bc777cb18 | |
parent | 189ea002e45c6385f80b347de83c7cb21c88615e (diff) | |
download | vyos-live-build-28cd477e7edf84936bfe7670ff4a7c052df35b9a.tar.gz vyos-live-build-28cd477e7edf84936bfe7670ff4a7c052df35b9a.zip |
Showing a message about ignoring --config when the current directory already is a git repository.
-rwxr-xr-x | scripts/build/lb_config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/lb_config b/scripts/build/lb_config index b3524e5ea..dbc7d8a71 100755 --- a/scripts/build/lb_config +++ b/scripts/build/lb_config @@ -870,8 +870,9 @@ Local_arguments () Local_arguments "${@}" -if [ -e .git ] +if [ -e .git ] && [ -n "${_CONFIG}" ] then + Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a git repository" _CONFIG="" fi |