summaryrefslogtreecommitdiff
path: root/bin/sanity-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-06-19 10:27:02 +0200
committerErich Eckner <git@eckner.net>2019-06-19 10:27:02 +0200
commitc805316c9ecd9a263acf54ee4629e97f18f9d246 (patch)
treeda0aacb00e530bea1737207d8914dda5d7960885 /bin/sanity-check
parent31fa73701b80256cd844a9c62cb01f1c662a32e5 (diff)
downloadbuilder-c805316c9ecd9a263acf54ee4629e97f18f9d246.tar.xz
bin/sanity-check: do not hard-code ~
Diffstat (limited to 'bin/sanity-check')
-rwxr-xr-xbin/sanity-check3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 4da985b..a6984fb 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -578,7 +578,8 @@ while [ $# -gt 0 ]; do
{
printf 'SELECT'
printf ' CONCAT('
- printf '"command=\"/home/master/builder/bin/slave-build-connect ",'
+ printf '"command=\"%s/bin/slave-build-connect ",' \
+ "${base_dir}"
printf '`build_slaves`.`name`,'
printf '"\" ssh-rsa ",'
printf '`ssh_keys`.`fingerprint`'