Adapted base path loading function

This commit is contained in:
2020-05-02 12:39:00 +02:00
parent c7a804f3f1
commit a49901eb5b
7 changed files with 7 additions and 7 deletions

View File

@@ -2,5 +2,5 @@
#
# Pushs all repositories
# @author Kevin Veen-Birkenbach [aka. Frantz]
source "$(dirname "$(readlink -f "${0}")")/base.sh" || echo "Loading base.sh failed." && exit 1
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
bash "$SCRIPT_PATH/push-local-repositories.sh" push

View File

@@ -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" || echo "Loading base.sh failed." && exit 1
source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh failed." && exit 1)
if [ $# -eq 1 ]
then
git_command=$1