scripts: make shebangs more portable

Use env to find the interpreter instead of a hard-coded path.
This commit is contained in:
Michele Guerini Rocco 2021-12-15 02:30:47 +01:00
parent f16471aad4
commit 8dfb214ea0
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
10 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/daniela/Desktop/scenario_001/files5s in=/Users/daniela/Desktop/scenario_001/files5s

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/daniela/Desktop/scenario_001/files5s in=/Users/daniela/Desktop/scenario_001/files5s

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/daniela/Desktop/scenario_001/files5s in=/Users/daniela/Desktop/scenario_001/files5s

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/daniela/Desktop/runs2014/case008/case008_data in=/Users/daniela/Desktop/runs2014/case008/case008_data

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/lorenzo/Desktop/scenario_001 in=/Users/lorenzo/Desktop/scenario_001

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/lorenzo/Desktop/scenario_001 in=/Users/lorenzo/Desktop/scenario_001

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/lorenzo/ITER/UL-Grant-161/optical-design in=/Users/lorenzo/ITER/UL-Grant-161/optical-design

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/gnuplot #!/usr/bin/env gnuplot
set style line 1 lt 1 lw 1 lc rgb "black" pt 6 #mat set style line 1 lt 1 lw 1 lc rgb "black" pt 6 #mat
set style line 2 lt 1 lw 1 lc rgb "red" pt 1 #v1 set style line 2 lt 1 lw 1 lc rgb "red" pt 1 #v1

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
awkcmd='BEGIN {lastu=0; lastl=0}; \ awkcmd='BEGIN {lastu=0; lastl=0}; \
NR<21 {print}; \ NR<21 {print}; \
NR==21 {sub("beam ","mirr "); print}; \ NR==21 {sub("beam ","mirr "); print}; \

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# set input/working/output folders # set input/working/output folders
in=/Users/daniela/Desktop/scenario_001/files5s in=/Users/daniela/Desktop/scenario_001/files5s