diff options
| author | Drew Ritter <drew@ritter.dev> | 2026-11-02 14:39:13 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-02 14:39:13 -0800 |
| commit | cdeb32c955964723c09f7191db8f81f426ddbab8 (patch) | |
| tree | da43c1c56fb9fe223008e6f3e16d8ff8be0de33c /scripts/package-codex-plugin.sh | |
| parent | 4e08cb1469a23f82d7024d6c493f618a5e54bd0e (diff) | |
| parent | f713233eee9143d0a798976fd0d11609f91c0b5c (diff) | |
Merge pull request #2609 from obra/fix/codex-scripts-in-worktrees
fix(codex): accept linked git worktrees in the package and sync scripts
Diffstat (limited to 'scripts/package-codex-plugin.sh')
| -rwxr-xr-x | scripts/package-codex-plugin.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-codex-plugin.sh b/scripts/package-codex-plugin.sh index 5308e28..fe90862 100755 --- a/scripts/package-codex-plugin.sh +++ b/scripts/package-codex-plugin.sh @@ -140,7 +140,7 @@ if [[ "$FORMAT" == "zip" ]]; then command -v unzip >/dev/null || die "unzip not found in PATH" fi -[[ -d "$REPO_ROOT/.git" ]] || die "repo root is not a git checkout: $REPO_ROOT" +[[ -e "$REPO_ROOT/.git" ]] || die "repo root is not a git checkout: $REPO_ROOT" git -C "$REPO_ROOT" rev-parse --verify "$REF^{commit}" >/dev/null || die "git ref does not resolve to a commit: $REF" |
