Implemented error if base can't be loaded
This commit is contained in:
1 parent
d7cb45aae9
commit
f385bc3d98
9 files changed
+10
-10
No files matched your search
@@ -2,5 +2,5 @@
|
||||
#
|
||||
# Pushs all repositories
|
||||
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
||||
source "$(dirname "$(readlink -f "${0}")")/base.sh"
|
||||
source "$(dirname "$(readlink -f "${0}")")/base.sh" || echo "Loading base.sh failed." && exit 1
|
||||
bash "$SCRIPT_PATH/push-local-repositories.sh" push
|
||||
@@ -3,7 +3,7 @@
|
||||
# Pushs all repositories
|
||||
# @param $1 git command which should be executed instead of default pull
|
||||
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
||||
source "$(dirname "$(readlink -f "${0}")")/base.sh"
|
||||
source "$(dirname "$(readlink -f "${0}")")/base.sh" || echo "Loading base.sh failed." && exit 1
|
||||
if [ $# -eq 1 ]
|
||||
then
|
||||
git_command=$1
|
||||
|
||||
Reference in new issue
Block a user