Skip to content

Fix unbound variable error in install script trap#1

Merged
dmmulroy merged 1 commit intodmmulroy:mainfrom
kristianfreeman:fix/install-script-trap
Jan 17, 2026
Merged

Fix unbound variable error in install script trap#1
dmmulroy merged 1 commit intodmmulroy:mainfrom
kristianfreeman:fix/install-script-trap

Conversation

@kristianfreeman
Copy link
Contributor

When running either the global or local install script, I got an error back:

$ curl -fsSL https://raw.githubusercontent.com/dmmulroy/cloudflare-skill/main/install.sh | bash -s -- --global
Installing cloudflare skill (global)...
Fetching skill...
Installed skill to: /Users/kristian/.config/opencode/skill/cloudflare
Installed command to: /Users/kristian/.config/opencode/command/cloudflare.md
Done.
bash: line 89: tmp_dir: unbound variable

Threw opencode at it for the fix! Verified that running works locally after the change:

$ ./install.sh --global
Installing cloudflare skill (global)...
Fetching skill...
Updating existing installation...
Installed skill to: /Users/kristian/.config/opencode/skill/cloudflare
Installed command to: /Users/kristian/.config/opencode/command/cloudflare.md
Done.

@dmmulroy dmmulroy merged commit c4696d5 into dmmulroy:main Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments