use /usr/bin/env in shell scripts

This commit is contained in:
Andrei "Akari" Alexeyev 2017-02-26 00:18:03 +02:00
parent 48ada49293
commit 77d3f06a56
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
IN="$1"
OUT="$2"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$1" != "--iknowwhatimdoing" ]]; then
>&2 echo "This script should not be ran directly."