Commit ddd6186d3ddcd3779065f804a3da0f9b9212f174

Authored by Paulo Graça
1 parent e01fd68ea0
Exists in master

PG: add exec path

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
ingester/prepare.sh
... ... @@ -26,10 +26,15 @@ filename=$(basename $file)
26 26 # Current script dir
27 27 pushd `dirname $0` > /dev/null
28 28 SCRIPTPATH=`pwd`
  29 +popd > /dev/null
  30 +
  31 +
  32 +echo "${SCRIPTPATH}"
  33 +echo "${SCRIPTPATH}ingester"
29 34 if [ -d "${SCRIPTPATH}ingester" ]; then
30 35 SCRIPTPATH="${SCRIPTPATH}ingester/"
31 36 fi
32   -popd > /dev/null
  37 +
33 38  
34 39 mylogger "start extracting DOI from PDF - $file"
35 40 DOI=$(perl $SCRIPTPATH/scripts/extract_pdftext.pl $file)
... ...