summaryrefslogtreecommitdiff
path: root/tcwg-llvm-common.sh
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-05-10 22:06:12 +0100
committerRenato Golin <renato.golin@linaro.org>2017-05-10 22:06:12 +0100
commitd654d743529b3a69d3df0165f56ef3b4d41e61f0 (patch)
treecc490f31ba54373efabc66cdf48b4e326237ab31 /tcwg-llvm-common.sh
parent1e89d6d7faf49c8e775d7ff3a0f00615e7d72095 (diff)
tcwg-llvm-common.sh: turns out we weren't in a git repo
Change-Id: I339921b036f92b8515fdafdb891e3d59e14bdf70
Diffstat (limited to 'tcwg-llvm-common.sh')
-rwxr-xr-xtcwg-llvm-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh
index f77d51f1..23baf821 100755
--- a/tcwg-llvm-common.sh
+++ b/tcwg-llvm-common.sh
@@ -59,7 +59,7 @@ update_git() {
# We don't need to create a branch with the commit, as the clones are new
# Should be ok to stay in a detached head state for this purpose
hash=$("$BASEDIR/svn-git-hash.pl" "$BASE" "$REV" | awk '{print $2}')
- git checkout --detach "$hash"
+ git -C "$BASE" checkout --detach "$hash"
}
# Find the SVN revision of a git-svn repository