diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index f4827945..9c45f3b4 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -40,7 +40,8 @@ EOF ################################################# # Get an absolute path from a relative path to a file -# +# +# Param1 : Relative path # Returns: 1 if the folder in which the file is located does not exist # 0 otherwise ################################################# @@ -124,9 +125,6 @@ FILE_OUTPUT_PDFA="`absolutePath "$2"`" # set script path as working directory cd "`dirname $0`" - - - # check if the required utilities are installed [ $VERBOSITY -ge $LOG_DEBUG ] && echo "Checking if all dependencies are installed" ! command -v gs > /dev/null && echo "Please install ghostcript. Exiting..." && exit $EXIT_MISSING_DEPENDENCY