Use /usr/bin/env in shebangs
Stop assuming that bash is in /bin, and that perl and python are in /usr/bin, etc. Instead, use env command to find these commands in the path.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$1" == "" ]; then
|
||||
echo "runtest.sh testfile"
|
||||
|
||||
Reference in New Issue
Block a user