Commit e01fd68ea07be5fe0a0322db61fbef10a7e55000

Authored by Paulo Graça
1 parent 15d95c4e9b
Exists in master

PG: add exec path

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
ingester/prepare.sh
@@ -26,8 +26,8 @@ filename=$(basename $file) @@ -26,8 +26,8 @@ filename=$(basename $file)
26 # Current script dir 26 # Current script dir
27 pushd `dirname $0` > /dev/null 27 pushd `dirname $0` > /dev/null
28 SCRIPTPATH=`pwd` 28 SCRIPTPATH=`pwd`
29 -if [ -d $SCRIPTPATH'ingester' ]; then  
30 - SCRIPTPATH=$SCRIPTPATH'ingester/' 29 +if [ -d "${SCRIPTPATH}ingester" ]; then
  30 + SCRIPTPATH="${SCRIPTPATH}ingester/"
31 fi 31 fi
32 popd > /dev/null 32 popd > /dev/null
33 33