diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-08-12 07:20:44 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-08-12 07:20:44 +0530 |
commit | 937b269967f2ef0ac379cb8cd1d787cc91426d12 (patch) | |
tree | aba6f183e06bf6d0e9e4a56f84dad90977281ba6 /.scripts/pdfpicconv | |
parent | c87e60e7e9f39e33dce2144d8a855f47358b84a2 (diff) |
specifying bash for non-posix compliant scripts+correcting other scripts
Diffstat (limited to '.scripts/pdfpicconv')
-rwxr-xr-x | .scripts/pdfpicconv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/pdfpicconv b/.scripts/pdfpicconv index 8b7a551..4ab432d 100755 --- a/.scripts/pdfpicconv +++ b/.scripts/pdfpicconv @@ -1,3 +1,3 @@ #!/bin/sh output=$(echo $1 | cut -d. -f1) -pdftoppm -jpeg -r 300 $1 $output.jpg +pdftoppm -jpeg -r 300 $1 $output && mv $output*.jpg $output.jpg |