aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2021-02-05 13:51:05 -0800
committerAlec Warner <antarus@gentoo.org>2021-02-05 13:51:05 -0800
commit22ac84f78606816b0710d849cdd6ccef24afd7c8 (patch)
treedea9e1d637d4d793695c5c12d766a4a53a41418c /bin
parentMerge branch 'master' into develop (diff)
downloadsoko-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-xbin/fullupdate.sh2
-rwxr-xr-xbin/update.sh2
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
}