Skip to content

Commit

Permalink
style(oomoxify.sh): shellcheck 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Dec 27, 2022
1 parent f47c36b commit 9c083da
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions oomoxify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ do
case ${1} in
-h|--help)
print_usage
exit 0
;;
-f|--font)
replace_font="${2}"
Expand Down Expand Up @@ -80,7 +79,6 @@ do
if [[ "${1}" == -* ]] || [[ ${THEME-} ]]; then
echo "unknown option ${1}"
print_usage
exit 2
fi
THEME="${1}"
;;
Expand Down Expand Up @@ -153,6 +151,7 @@ button_border_color="$(mix "${main_fg}" "${main_bg}" 0.5)"
tmp_dir="$(mktemp -d)"
output_dir="$(mktemp -d)"
log_file=$(mktemp)
# shellcheck disable=SC2317
function post_clean_up {
rm -r "${tmp_dir}" || true
rm -r "${output_dir}" || true
Expand Down Expand Up @@ -446,4 +445,4 @@ done

echo
echo "== DONE"
exit ${exit_code}
exit "$exit_code"

0 comments on commit 9c083da

Please sign in to comment.