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:
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