Skip to content

Commit 1ff9f45

Browse files
authored
Merge pull request #15 from Pix4D/change-script-header-exe-path
Change shell path to /bin/sh
2 parents f0732ad + 4348c12 commit 1ff9f45

11 files changed

+11
-11
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ func matchFuzzy(create, destroy *strset.Set) (map[string]string, map[string]stri
401401
// Given a map old->new, create a script that for each element in the map issues the
402402
// command: "terraform state mv old new".
403403
func script(matches map[string]string, stateFlags string, out io.Writer) error {
404-
fmt.Fprintf(out, "#! /usr/bin/sh\n")
404+
fmt.Fprintf(out, "#! /bin/sh\n")
405405
fmt.Fprintf(out, "# DO NOT EDIT. Generated by terravalet.\n")
406406
fmt.Fprintf(out, "# terravalet_output_format=2\n")
407407
fmt.Fprintf(out, "#\n")

testdata/01_exact-match.down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/01_exact-match.up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/02_fuzzy-match.down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/02_fuzzy-match.up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/03_fuzzy-match.down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/03_fuzzy-match.up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/04_down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/04_up.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

testdata/07_fuzzy-match.down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! /usr/bin/sh
1+
#! /bin/sh
22
# DO NOT EDIT. Generated by terravalet.
33
# terravalet_output_format=2
44
#

0 commit comments

Comments
 (0)