Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/tmp-bootstrap
blob: fdccd292ebf09ecca0ea19a095d79ac5fa68b73a (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 `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