aboutsummaryrefslogtreecommitdiff
path: root/pdfs
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-16 00:49:53 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-16 00:49:53 +0100
commit97c24cfef14427189842464a70166a81659b39bf (patch)
treec60fd305cf86be1655bbd8017cbb4b60da94c4b1 /pdfs
parentb8d66986e9be6711ed42f0b75de3af2e1f4a632d (diff)
downloadscripts-97c24cfef14427189842464a70166a81659b39bf.tar.gz
scripts-97c24cfef14427189842464a70166a81659b39bf.zip
toPDF.sh: Init a variable before using.
Diffstat (limited to 'pdfs')
-rwxr-xr-xpdfs/toPDF.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdfs/toPDF.sh b/pdfs/toPDF.sh
index e4e6ece..a383c09 100755
--- a/pdfs/toPDF.sh
+++ b/pdfs/toPDF.sh
@@ -8,6 +8,7 @@
# it already exists.
# Opens the file with $READER if -o option is given.
+open=""
if [ "$1" = "-o" ]; then
open="1"
shift