You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
309 B
18 lines
309 B
1 year ago
|
#!/bin/sh
|
||
|
|
||
|
kls_ljpeg_i=""
|
||
|
kls_ljpeg_o=""
|
||
|
kls_ljpeg_bin=""
|
||
|
|
||
|
while [ "$1" ] ; do
|
||
|
|
||
|
case "$1" in
|
||
|
"--input") kls_ljpeg_i="$2" shift ;;
|
||
|
"--output") kls_ljpeg_o="$2" shift ;;
|
||
|
"--binary") kls_ljpeg_bin="$2" shift ;;
|
||
|
esac
|
||
|
|
||
|
shift
|
||
|
done
|
||
|
|
||
|
$kls_ljpeg_bin "$kls_ljpeg_i" > "$kls_ljpeg_o"
|