diff options
-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 |