mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
fixed typos, added log
This commit is contained in:
parent
0857c434d0
commit
86e5e420ca
@ -28,6 +28,7 @@ fi
|
||||
|
||||
|
||||
# get commit hashes
|
||||
echo "Getting kaido info"
|
||||
cd "$root"
|
||||
|
||||
currentCommit_kaido=$(git rev-parse --verify HEAD)
|
||||
@ -37,16 +38,17 @@ if [ -f "${previousCommitFile_kaido}" ]; then
|
||||
fi
|
||||
|
||||
|
||||
echo "Getting config info"
|
||||
cd "$configDir"
|
||||
|
||||
git reset --hard
|
||||
git pull
|
||||
|
||||
currentCommit_config=$(git rev-parse --verify HEAD)
|
||||
previusCommit_config=origin/master
|
||||
previousCommit_config=origin/master
|
||||
|
||||
if [ -f "${previousCommitFIle_config}" ]; then
|
||||
previusCommit_config=$(head -n 1 ${previousCommitFIle_config})
|
||||
previousCommit_config=$(head -n 1 ${previousCommitFIle_config})
|
||||
fi
|
||||
# ------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user