98-source-repositories tries to return from script
In 8b2325118f
we added a line
so that 98-source-repositories tries to return from the top
level script (not from within a function).
Also, remove the return 1 within the function as well
because we just want to continue in these cases.
Change-Id: I66eddc12208b278594a0a8d8676c38d72045ca75
This commit is contained in:
parent
1080b40368
commit
ef379f05e4
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ function get_repos_for_element(){
|
|||
if [ ! -e "$CACHE_PATH" ] ; then
|
||||
mv -n $OLD_CACHE_PATH $CACHE_PATH
|
||||
else
|
||||
echo "Not replacing new cache location with old cache" && return 1
|
||||
echo "Not replacing new cache location with old cache"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -164,7 +164,7 @@ if [ -e "$OLD_CACHE_BASE" ] ; then
|
|||
if [ ! -e "$CACHE_BASE" ] ; then
|
||||
mv -n $OLD_CACHE_BASE $CACHE_BASE
|
||||
else
|
||||
echo "Not replacing new cache location with old cache" && return 1
|
||||
echo "Not replacing new cache location with old cache"
|
||||
fi
|
||||
fi
|
||||
mkdir -p $CACHE_BASE
|
||||
|
|
Loading…
Reference in a new issue