mirror of
https://github.com/rocketraman/sane-scan-pdf.git
synced 2025-05-18 00:20:31 -07:00
Force output file spec
This commit is contained in:
parent
24882e4397
commit
3c091969d5
5
scan
5
scan
@ -131,6 +131,11 @@ if [ $USEARRAY = 0 -a -f "$OUTPUT" -a ! $APPEND = 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$OUTPUT" = "" ]; then
|
||||||
|
echo >&2 "Output file must be specified. Aborting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $USEARRAY = 1 -a ! $APPEND = 1 ]; then
|
if [ $USEARRAY = 1 -a ! $APPEND = 1 ]; then
|
||||||
for o in "${OUTPUT[@]}"; do
|
for o in "${OUTPUT[@]}"; do
|
||||||
if [ -f "$o" ]; then
|
if [ -f "$o" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user