added set -e

This commit is contained in:
André Bauer 2017-01-09 18:52:52 +01:00
parent e9e242ee64
commit 86348df457

View File

@ -1,12 +1,14 @@
#!/bin/bash #!/bin/bash
set -e
# install zammad # install zammad
echo "installing zammad..." echo "installing zammad..."
cd /tmp || exit 1 cd /tmp
git clone --depth 1 -b "${GIT_BRANCH}" "${GIT_URL}" git clone --depth 1 -b "${GIT_BRANCH}" "${GIT_URL}"
cp -R /tmp/zammad/* "${ZAMMAD_DIR}" cp -R /tmp/zammad/* "${ZAMMAD_DIR}"
cp -R /tmp/zammad/.[!.]* "${ZAMMAD_DIR}" cp -R /tmp/zammad/.[!.]* "${ZAMMAD_DIR}"
cd "${ZAMMAD_DIR}" || exit 1 cd "${ZAMMAD_DIR}"
rm -rf /tmp/zammad rm -rf /tmp/zammad
bundle install --without test development mysql bundle install --without test development mysql
contrib/packager.io/fetch_locales.rb contrib/packager.io/fetch_locales.rb