소스 검색

v2.0.4 - Fix to final status, missing $ in $finalRet

master
Gustavo Neves 8 년 전
부모
커밋
36719f478f
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      pdfScale.sh

+ 3
- 3
pdfScale.sh 파일 보기

@@ -12,7 +12,7 @@
# And: https://gist.github.com/MichaelJCole/86e4968dbfc13256228a


VERSION="2.0.3"
VERSION="2.0.4"


###################### EXTERNAL PROGRAMS #######################
@@ -78,7 +78,7 @@ EXIT_INVALID_PAPER_SIZE=50

# Main function called at the end
main() {
printPDFSizes
printPDFSizes # may exit here
vprint " Input File: $INFILEPDF"
vprint " Output File: $OUTFILEPDF"
getPageSize
@@ -119,7 +119,7 @@ main() {
finalRet=$?
fi

if [[ finalRet -eq $EXIT_SUCCESS ]]; then
if [[ $finalRet -eq $EXIT_SUCCESS ]]; then
vprint " Final Status: File created successfully"
else
vprint " Final Status: Errors were detected. Exit status: $finalRet"


불러오는 중...
취소
저장