소스 검색

v2.0.1 Prints dependency checks before tasks in verbose execution

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

+ 2
- 2
pdfScale.sh 파일 보기

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


VERSION="2.0.0"
VERSION="2.0.1"


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

# Main function called at the end
main() {
checkDeps
printPDFSizes
vprint " Input File: $INFILEPDF"
vprint " Output File: $OUTFILEPDF"
@@ -315,6 +314,7 @@ getOptions() {
isFile "$INFILEPDF" || initError "Input file not found: $INFILEPDF" $EXIT_FILE_NOT_FOUND
printVersion 1 'verbose'
checkDeps
if isMixedMode; then
vprint " Mixed Tasks: Resize & Scale"
isEmpty "$2" && OUTFILEPDF="${INFILEPDF%.pdf}.$(uppercase $RESIZE_PAPER_TYPE).SCALED.pdf"


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