Commit 18716e12 authored by ale's avatar ale

Drop bashisms pushd/popd

parent 4a3e816b
Pipeline #5251 failed with stages
in 57 seconds
......@@ -23,9 +23,8 @@ install_keystore() {
mkdir -p $tmpdir/src/
ln -s $PWD $tmpdir/src/
pushd $tmpdir/src/
GOPATH=$tmpdir go build -o /usr/bin/dovecot-keylookupd cmd/dovecot-keylookupd
GOPATH=$tmpdir go build -o /usr/bin/keystored cmd/keystored
GOPATH=$tmpdir go build -o /usr/bin/dovecot-keylookupd
GOPATH=$tmpdir go build -o /usr/bin/keystored
addgroup --system --quiet dovecot-keylookupd
adduser --system --no-create-home --home /run/dovecot-keylookupd \
......@@ -40,11 +39,10 @@ install_keystore() {
systemctl daemon-reload
mkdir -p /var/lib/keystore /etc/sso
GOPATH=$tmpdir go run integration-test/init.go --dbpath=/var/lib/keystore/test.db --ssopath=/etc/sso $TESTPW1 $TESTPW2
GOPATH=$tmpdir go run --dbpath=/var/lib/keystore/test.db --ssopath=/etc/sso $TESTPW1 $TESTPW2
chown -R keystored /var/lib/keystore
rm -fr $tmpdir
configure_dovecot() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment