X Tutup
Skip to content

Commit b56f77b

Browse files
authored
Use /usr/bin/env bash instead of /bin/bash in gh extension create
1 parent 355d281 commit b56f77b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/extension/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (m *Manager) Create(name string) error {
268268
}
269269

270270
fileTmpl := heredoc.Docf(`
271-
#!/bin/bash
271+
#!/usr/bin/env bash
272272
set -e
273273
274274
echo "Hello %[1]s!"

0 commit comments

Comments
 (0)
X Tutup