diff options
Diffstat (limited to 'john_pnm.cgi')
-rwxr-xr-x | john_pnm.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/john_pnm.cgi b/john_pnm.cgi index 2e3ba3a..dab1d2e 100755 --- a/john_pnm.cgi +++ b/john_pnm.cgi @@ -3,5 +3,6 @@ JOHN_DIR="/home/rebecca/shed/gnom/john/ads" johnfile="$JOHN_DIR/$(ls "$JOHN_DIR"|shuf -n1)" +johnfile="${1:-$johnfile}" anytopnm <"$johnfile" | ppmtoppm | pnmscale -height=114 |