-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix temp directories left behind #33
Fix temp directories left behind #33
Conversation
406d886
to
4e04b26
Compare
# `brother4:net1;dev0` device name gets passed to scanimage, which it refuses as an invalid device name for some reason. | ||
# Let's use the default scanner for now | ||
# scanimage -l 0 -t 0 -x 215 -y 297 --device-name="$1" --resolution="$2" --batch="$3" | ||
scanimage -l 0 -t 0 -x 215 -y 297 --format=pnm --resolution="$2" --batch="$3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: Explicitly specify --format=pnm
to avoid unnecessary warning fallback message.
Looks pretty good. Two things though:
|
@PhilippMundhenk Keep in mind that |
Yes, indeed, by passing it there, if being called from the web interface, |
@PhilippMundhenk can you please point me to where we're passing |
We aren't. Starting to see ghosts switching between issues and branches. It is passed to scan_cmd, but never to scanimage from there. |
Merged this to branch, will do a quick test of the branch, once container is ready, then merge to master |
My last change to
scantofile-0.2.4-1.sh
unfortunately introduced a bug where therm -rf
command was not being applied to a correctly named directory. This PR fixes it and further cleans up the scripts to make more use of variables to avoid repetition.