aboutsummaryrefslogtreecommitdiffstats
path: root/make-gif
diff options
context:
space:
mode:
Diffstat (limited to 'make-gif')
-rwxr-xr-xmake-gif7
1 files changed, 1 insertions, 6 deletions
diff --git a/make-gif b/make-gif
index 2c33718..d553aff 100755
--- a/make-gif
+++ b/make-gif
@@ -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