From 97d9bb3e509ec19b37e67f670831c7d40892ffb4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 18 Jul 2018 13:43:41 +0200 Subject: why-dont-you - work in progress --- bin/tmp-bootstrap | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 bin/tmp-bootstrap (limited to 'bin/tmp-bootstrap') 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 -- cgit v1.2.3-70-g09d2