Merge pull request #4203 from kidonng/patch-1

Use `/usr/bin/env bash` instead of `/bin/bash` in `gh extension create`
This commit is contained in:
Mislav Marohnić 2021-08-26 11:36:23 +02:00 committed by GitHub
commit 6ec289c408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,7 +268,7 @@ func (m *Manager) Create(name string) error {
}
fileTmpl := heredoc.Docf(`
#!/bin/bash
#!/usr/bin/env bash
set -e
echo "Hello %[1]s!"