diff options
author | Alec Warner <antarus@gentoo.org> | 2021-02-05 13:51:05 -0800 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2021-02-05 13:51:05 -0800 |
commit | 22ac84f78606816b0710d849cdd6ccef24afd7c8 (patch) | |
tree | dea9e1d637d4d793695c5c12d766a4a53a41418c /bin | |
parent | Merge branch 'master' into develop (diff) | |
download | soko-22ac84f78606816b0710d849cdd6ccef24afd7c8.tar.gz soko-22ac84f78606816b0710d849cdd6ccef24afd7c8.tar.bz2 soko-22ac84f78606816b0710d849cdd6ccef24afd7c8.zip |
Reset the right stuff.
Sorry I am bad at git but dr.evil told me this was correct.
Signed-off-by: Alec Warner <antarus@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fullupdate.sh | 2 | ||||
-rwxr-xr-x | bin/update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/fullupdate.sh b/bin/fullupdate.sh index 400345a..a4627a3 100755 --- a/bin/fullupdate.sh +++ b/bin/fullupdate.sh @@ -21,7 +21,7 @@ update_repository(){ git remote set-url "${GIT_REMOTE}" "${GIT_URI}" fi git fetch --quiet --force "${GIT_REMOTE}" "${GIT_BRANCH}" - git reset --quiet --hard + git reset --quiet --hard "${GIT_REMOTE}"/"${GIT_BRANCH}" fi } diff --git a/bin/update.sh b/bin/update.sh index 06d6110..1774e34 100755 --- a/bin/update.sh +++ b/bin/update.sh @@ -21,7 +21,7 @@ update_repository(){ git remote set-url "${GIT_REMOTE}" "${GIT_URI}" fi git fetch --quiet --force "${GIT_REMOTE}" "${GIT_BRANCH}" - git reset --quiet --hard + git reset --quiet --hard "${GIT_REMOTE}"/"${GIT_BRANCH}" fi } |