Exit script if any command fails

This commit is contained in:
Jordan Cook 2023-07-10 17:49:13 -05:00
parent 9aa2f57370
commit 7797107f52
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
# Default settings for dithering
# Uses the didder CLI tool: https://github.com/makew0rld/didder
set -e
OUT_FILE="assets/images/${1%.*}.png"
PALETTE='#1d2021 #3c3836 #665c54