diff options
author | katherine <shmibs@shmibbles.me> | 2017-03-24 02:00:41 -0700 |
---|---|---|
committer | katherine <shmibs@shmibbles.me> | 2017-03-24 02:00:41 -0700 |
commit | 4ad6cd5bbb06faf7ae50f7d2541e27d0d94b1d81 (patch) | |
tree | 40d70f7391228e366ad46614dab60a0ae85a9ff5 /make-gif | |
parent | 6cabff51c86d045fc0c9125671919b292c87d92f (diff) | |
download | make-gif-4ad6cd5bbb06faf7ae50f7d2541e27d0d94b1d81.tar.gz |
use gifsicle batch mode
Diffstat (limited to 'make-gif')
-rwxr-xr-x | make-gif | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -197,11 +197,6 @@ rm_tmps # gifsicle if [[ -f "$2" && $gsic ]]; then - local gsictmp="$2.out" - while [[ -f "$gsictmp" ]]; do - gsictmp="$gsictmp.out" - done echo "optimising..." - gifsicle -O3 -i "$2" -o "$gsictmp" - [[ $? -eq 0 ]] && rm -f "$2" && mv "$gsictmp" "$2" + gifsicle --batch -O3 -i "$2" fi |