diff options
author | Gunnar Andersson <gandersson@genivi.org> | 2018-10-31 17:58:16 +0100 |
---|---|---|
committer | Gunnar Andersson <gandersson@genivi.org> | 2018-10-31 18:04:40 +0100 |
commit | 3b7b1019f732f10a9b037e81cded565eafb44b09 (patch) | |
tree | b1b5e3954411a4a5678cae661466854ea48e15a8 | |
parent | 0c7d8350caa9699cbdeed40caf2991503bdb2400 (diff) | |
download | meta-ivi-14.x-rocko.tar.gz meta-ivi-14.x-rocko.tar.bz2 meta-ivi-14.x-rocko.zip |
ci-build.sh: Fix bug in append local conf14.x-rocko
Not sure how this ever worked before.
Some comments / cosmetic changes were included in the process.
Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
-rwxr-xr-x | scripts/ci-build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ci-build.sh b/scripts/ci-build.sh index a543769..f92fbeb 100755 --- a/scripts/ci-build.sh +++ b/scripts/ci-build.sh @@ -66,7 +66,7 @@ stop_immediately() { append_local_conf() { LOCAL_CONF="$BASEDIR/build/conf/local.conf" if [[ -f "$LOCAL_CONF" ]]; then - if fgrep -q "$1" ; then + if fgrep -q "$1" "$LOCAL_CONF" ; then echo "Found variable ($1) in local conf - skipping append" else echo -n "Appending to local.conf: " @@ -450,8 +450,8 @@ fi # this format makes it similar to the $MIRROR setup below, which needs to be # explicit anyhow. -# We *pre*pend PREMIRROR because we want it to be the first PREMIRROR that -# is checked, if the user had defined any other in conf files. +# We *pre*pend PREMIRROR because we want it to be the first mirror that is +# checked, if the user has defined any other in conf files. if [[ -n "$PREMIRROR" ]]; then append_local_conf PREMIRRORS_prepend " @@ -466,7 +466,7 @@ fi # This is the "post" mirror (i.e. checked last). # WE *app*pend MIRROR because we want it to be the last mirror that is checked, -# if the user had defined others in conf files. +# if the user has defined others in conf files. if [[ -n "$MIRROR" ]]; then append_local_conf MIRRORS_append " MIRRORS_append = \"\\ |