Improve Alpine scripts

This commit is contained in:
MatMoul 2023-11-19 19:16:16 +01:00
parent 3e06129eb1
commit 77d0758861

View File

@ -17,11 +17,11 @@ main() {
} }
while [ ${#} -gt 0 ]; do while [ ${#} -gt 0 ]; do
case ${1} in case ${1} in
--help) showHelp; exit 0;; --help) showHelp; exit 0;;
-b | --base-url) BASE_URL="${2}"; shift;; -b | --base-url) BASE_URL="${2}"; shift;;
*) shift;; *) shift;;
esac esac
done done
main main