Browse Source

- helpers: exit on error

master
vanhofen 6 years ago
parent
commit
38eacf7121
  1. 3
      helpers/get-git-source.sh
  2. 3
      helpers/get-svn-source.sh

3
helpers/get-git-source.sh

@ -12,6 +12,9 @@
GIT_URL="$1"
DEST="$2"
# exit on error
set -e
if [ -d $DEST ]; then
cd $DEST
git pull || true

3
helpers/get-svn-source.sh

@ -12,6 +12,9 @@
SVN_URL="$1"
DEST="$2"
# exit on error
set -e
if [ -d $DEST ]; then
cd $DEST
svn update || true

Loading…
Cancel
Save