mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 11:04:29 +05:00
fix bug
This commit is contained in:
@@ -157,7 +157,7 @@ read_remote_klipper_commit(){
|
|||||||
if [ "$GET_BRANCH" == "origin/master" ]; then
|
if [ "$GET_BRANCH" == "origin/master" ]; then
|
||||||
git fetch origin master -q
|
git fetch origin master -q
|
||||||
else
|
else
|
||||||
git fetch $GET_BRANCH -q
|
git fetch $(echo "$GET_BRANCH" | cut -d"/" -f1) -q
|
||||||
fi
|
fi
|
||||||
REMOTE_COMMIT=$(git rev-parse --short=8 $GET_BRANCH)
|
REMOTE_COMMIT=$(git rev-parse --short=8 $GET_BRANCH)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user