From: Frank Brehm Date: Tue, 23 May 2023 14:27:15 +0000 (+0200) Subject: Fixing scripts/get-module-version X-Git-Tag: 0.9.0~1^2~40 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=1e1758d57a44320d04066e5b1ec4ae8ed2945173;p=pixelpark%2Fpp-admin-tools.git Fixing scripts/get-module-version --- diff --git a/scripts/get-module-version b/scripts/get-module-version index 07df467..9d19cb1 100755 --- a/scripts/get-module-version +++ b/scripts/get-module-version @@ -124,7 +124,9 @@ get_options() { local mod for mod in "${REMAINING_ARGS[@]}" ; do - MODULES+=( "${mod}" ) + if [[ "${mod}" != "--" ]] ; then + MODULES+=( "${mod}" ) + fi done if [[ "${DEBUG}" == 'y' ]] ; then