Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20a5697f authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Remove dangling -- after parsing arguments

Test:`source command-line-options.sh && echo $@` has -- without the
patch and is empty with the patch
Test:`source command-line-options.sh --dry-run && echo $repo_branch`

Change-Id: I860c4c6556baf3a1483d753f85d9602c73620b51
parent e59ddeef
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,7 @@ eval set -- "$ARGV"
while true; do
while true; do
    case "$1" in
    case "$1" in
        --dry-run) repo_upload_dry_run_arg="--dry-run"; repo_branch="finalization-dry-run"; shift ;;
        --dry-run) repo_upload_dry_run_arg="--dry-run"; repo_branch="finalization-dry-run"; shift ;;
        --) shift; break;;
        *) break
        *) break
    esac
    esac
done
done