Skip to content

Commit

Permalink
Merge pull request #15 from Pix4D/change-script-header-exe-path
Browse files Browse the repository at this point in the history
Change shell path to /bin/sh
  • Loading branch information
Esysc authored Aug 11, 2021
2 parents f0732ad + 4348c12 commit 1ff9f45
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func matchFuzzy(create, destroy *strset.Set) (map[string]string, map[string]stri
// Given a map old->new, create a script that for each element in the map issues the
// command: "terraform state mv old new".
func script(matches map[string]string, stateFlags string, out io.Writer) error {
fmt.Fprintf(out, "#! /usr/bin/sh\n")
fmt.Fprintf(out, "#! /bin/sh\n")
fmt.Fprintf(out, "# DO NOT EDIT. Generated by terravalet.\n")
fmt.Fprintf(out, "# terravalet_output_format=2\n")
fmt.Fprintf(out, "#\n")
Expand Down
2 changes: 1 addition & 1 deletion testdata/01_exact-match.down.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/01_exact-match.up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/02_fuzzy-match.down.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/02_fuzzy-match.up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/03_fuzzy-match.down.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/03_fuzzy-match.up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/04_down.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/04_up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/07_fuzzy-match.down.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down
2 changes: 1 addition & 1 deletion testdata/07_fuzzy-match.up.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/sh
#! /bin/sh
# DO NOT EDIT. Generated by terravalet.
# terravalet_output_format=2
#
Expand Down

0 comments on commit 1ff9f45

Please sign in to comment.