Skip to content

Commit dee5e36

Browse files
committed
Do a proper script execution via #!/usr/bin/env
The invocation of a bash script with an absolute path to bash can cause problems on systems with a non-standard non-standard file system layouts. To overcome this issue, use '#!/usr/bin/env'. Good bash best practice source: http://andreinc.net/2011/09/04/bash-scripting-best-practice/
1 parent 696fa6d commit dee5e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample_head.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Source the optparse.bash file ---------------------------------------------------
44
source optparse.bash

0 commit comments

Comments
 (0)