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
|
||||
|
||||
PM3PATH=$(dirname "$0")
|
||||
. "$PM3PATH/pm3"
|
||||
|
||||
Reference in New Issue
Block a user