Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/tmp-bootstrap
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-18 13:43:41 +0200
committerErich Eckner <git@eckner.net>2018-07-25 14:21:25 +0200
commit97d9bb3e509ec19b37e67f670831c7d40892ffb4 (patch)
treebbcff72bc53e8c25e729e192938045fc02a681b3 /bin/tmp-bootstrap
parent49727af5d8015c356288c6cf5f062348768e7849 (diff)
why-dont-you - work in progress
Diffstat (limited to 'bin/tmp-bootstrap')
-rwxr-xr-xbin/tmp-bootstrap16
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