Skip to content

Commit

Permalink
fix check if EFS variable is set
Browse files Browse the repository at this point in the history
  • Loading branch information
avgils committed Dec 12, 2018
1 parent 4c1b4f5 commit 2db3956
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bin/matroos_flowmap
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ shift $((OPTIND-1))
# Generate a flowmap for matroos
# expects wget, ffmpeg and the flowmap command to be available.

# Fix a bug in anaconda gdal
source activate py35
export GDAL_DATA=$(gdal-config --datadir)

# Mount EFS if set
if [ -n $EFS ]
if [ -n "$EFS" ]
then
mkdir /tmp/efs
mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=15,retrans=2 ${EFS}:/ /tmp/efs
Expand Down

0 comments on commit 2db3956

Please sign in to comment.