justest commited on
Commit
dc3c218
·
1 Parent(s): 7facd24

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +1 -1
start_server.sh CHANGED
@@ -5,7 +5,7 @@ sed -i "s/#commit#/$commit/" nginx.conf
5
  nginx -c $PWD/nginx.conf
6
 
7
  set +e
8
- if [[ -e "$REPOSITORY" ]]; then
9
  git clone $REPOSITORY
10
  fi
11
  set -e
 
5
  nginx -c $PWD/nginx.conf
6
 
7
  set +e
8
+ if [[ ! -z "$REPOSITORY" ]]; then
9
  git clone $REPOSITORY
10
  fi
11
  set -e