Skip to content

Commit 3e8090e

Browse files
committed
updating script so it terminates if there is an issue
1 parent ed38859 commit 3e8090e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

run_walle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
#set -e -o xtrace
3+
set -e -o xtrace
44
# https://stackoverflow.com/a/5750463/7734535
55

66
if [ -z "${VIRTUAL_ENV}" ]; then
@@ -46,7 +46,7 @@ else
4646
python3 -m pip uninstall -y wall_e_models
4747
fi
4848
if [ ! -f 'wall_e_models' ]; then
49-
ln -sn "${WALL_E_MODEL_PATH}/wall_e_models" wall_e_models
49+
ln -sn "${WALL_E_MODEL_PATH}/wall_e_models" wall_e_models || true
5050
fi
5151

5252
if [[ "${SETUP_DATABASE}" == "True" ]]; then

0 commit comments

Comments
 (0)