diff options
author | Erich Eckner <git@eckner.net> | 2018-07-18 13:43:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-25 14:21:25 +0200 |
commit | 97d9bb3e509ec19b37e67f670831c7d40892ffb4 (patch) | |
tree | bbcff72bc53e8c25e729e192938045fc02a681b3 /bin/tmp-bootstrap | |
parent | 49727af5d8015c356288c6cf5f062348768e7849 (diff) | |
download | builder-97d9bb3e509ec19b37e67f670831c7d40892ffb4.tar.xz |
why-dont-you - work in progress
Diffstat (limited to 'bin/tmp-bootstrap')
-rwxr-xr-x | bin/tmp-bootstrap | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/tmp-bootstrap b/bin/tmp-bootstrap new file mode 100755 index 0000000..0ef436d --- /dev/null +++ b/bin/tmp-bootstrap @@ -0,0 +1,16 @@ +#!/bin/sh + +# shellcheck source=../lib/load-configuration +. "${0%/*}/../lib/load-configuration" + +eval "$( + # shellcheck disable=SC2016,SC2154 + sed -n ' + \,DELIMITER //, p + /DROP PROCEDURE IF EXISTS `recursively_find_the_culprit`/,/DELIMITER ;/ p + ' "${base_dir}/bin/bootstrap-mysql" +)" | \ + mysql -u root -p"$( + gpg -d -o - ~/Dokumente/pws.gpg 2>/dev/null | \ + sed -n '/root@mysql/{N;N;s/.*\n//;p}' + )" buildmaster |