blob: 005feb481a78130d033a95d31b0e85e820403115 (
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 `'"$1"'`/,/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
|