summaryrefslogtreecommitdiff
path: root/bin/bootstrap-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-23 10:59:53 +0100
committerErich Eckner <git@eckner.net>2018-03-23 10:59:53 +0100
commit5474aa6f94f4d83c4f3b03e00357b7fd47a8f2b8 (patch)
tree6e50d324362339b9c64480f42960a490faf4548c /bin/bootstrap-mysql
parent865de4ebc3753e78cd1fe2083d213c364afe4000 (diff)
downloadbuilder-5474aa6f94f4d83c4f3b03e00357b7fd47a8f2b8.tar.xz
bin/bootstrap-mysql: set head on bootstrapping to HEAD
Diffstat (limited to 'bin/bootstrap-mysql')
-rwxr-xr-xbin/bootstrap-mysql4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 98f8efb..86fa645 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -622,8 +622,8 @@ fi
base64 -w0
)" \
"$(
- base64_encode_each < \
- "${work_dir}/${repo}.revision"
+ git -C "${repo_path}" rev-parse HEAD | \
+ base64_encode_each
)" | \
sed 's|,$|),|'
done