From 46e20223c7bbc437e0996322ba18b8a06960bc60 Mon Sep 17 00:00:00 2001 From: Ben Thomson Date: Thu, 11 Jun 2020 12:21:16 +0800 Subject: [PATCH] Fix Subsplit options --- .github/workflows/scripts/subsplit/git-subsplit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/subsplit/git-subsplit.sh b/.github/workflows/scripts/subsplit/git-subsplit.sh index dcb931a05..a51dca565 100755 --- a/.github/workflows/scripts/subsplit/git-subsplit.sh +++ b/.github/workflows/scripts/subsplit/git-subsplit.sh @@ -28,6 +28,7 @@ tags= only publish for listed tags instead of all tags no-tags do not publish any tags update fetch updates from repository before publishing rebuild-tags rebuild all tags (as opposed to skipping tags that are already synced) +path= path of the repository " eval "$(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)" @@ -74,7 +75,7 @@ subsplit_main() -n) DRY_RUN="--dry-run" ;; --dry-run) DRY_RUN="--dry-run" ;; --rebuild-tags) REBUILD_TAGS=1 ;; - --path) WORK_DIR="$1" ;; + --path) WORK_DIR="$1"; shift ;; --) break ;; *) die "Unexpected option: $opt" ;; esac