Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/tmp-bootstrap
blob: 0ef436d8217d3fcd60bdad1b341ec7c93d3ad347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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