aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-04-19 21:40:35 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-04-19 21:40:35 -0700
commit8dfdab233c7699f30c4908b1affebacbf6c52a61 (patch)
treeb0b9cf0b2e01efe6e676dcea2776f5bc1e2bc0bc
parentmastermirror-staging: force local on variable. (diff)
downloadmastermirror-scripts-8dfdab233c7699f30c4908b1affebacbf6c52a61.tar.gz
mastermirror-scripts-8dfdab233c7699f30c4908b1affebacbf6c52a61.tar.bz2
mastermirror-scripts-8dfdab233c7699f30c4908b1affebacbf6c52a61.zip
mastermirror-staging: use target dir, not git dir
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xmastermirror-staging.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastermirror-staging.sh b/mastermirror-staging.sh
index c4d66da..0c36cbe 100755
--- a/mastermirror-staging.sh
+++ b/mastermirror-staging.sh
@@ -71,7 +71,7 @@ fetch_git() {
shift 2
local timestampfile=${timestampfile:-timestamp.commit}
gitdir=${targetdir}.git
- timestampfile=${gitdir}/$timestampfile
+ timestampfile=${targetdir}/$timestampfile
[ -f "$timestampfile" ] && rm -f "$timestampfile"
if [[ ! -d "${targetdir}" ]] ; then
# not checked out yet, run initial co