Skip to content

Commit

Permalink
fix: bash runner is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
darlanalves authored Feb 9, 2024
1 parent dfb0a74 commit 23f7d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

[[ -z "$1" ]] && echo "Missing snippet name. Try 'run.sh <snippet-name>'" && exit 1

curl -sS --output snippet.sh https://registry.snippets.run/shell/$1
bash snippet.sh
curl -sS --output $TMPDIR/snippet.sh https://registry.snippets.run/s/shell/$1
bash $TMPDIR/snippet.sh

0 comments on commit 23f7d1d

Please sign in to comment.