diff --git a/utils/bump.sh b/utils/bump.sh index c5b90bb..d206933 100644 --- a/utils/bump.sh +++ b/utils/bump.sh @@ -4,6 +4,9 @@ # NOTE: Pass --chrome or --chromium to only affect Chromium manifest # NOTE: Pass --firefox or --ff to only affect Firefox manifest +# Normalize args +arg=${1#-} ; arg=${arg#-} # strip leading dash(es) + # Init UI colors NC="\033[0m" # no color BR="\033[1;91m" # bright red @@ -15,9 +18,6 @@ BW="\033[1;97m" # bright white chromium_manifest="chromium/extension/manifest.json" ff_manifest="firefox/extension/manifest.json" -# Normalize args -arg=${1#-} ; arg=${arg#-} # strip leading dash(es) - # Determine manifests to edit case "$arg" in chrome|chromium) MANIFESTS_TO_EDIT=("$chromium_manifest") ;;