Script less Linux-centric, more UNIX-agnostic

On FreeBSD and Solaris, Bash isn't by default located in /bin.

This shebang line will find it according the environment path.
This commit is contained in:
Sébastien Santoro
2013-10-28 09:26:12 +01:00
parent 316e2ce58a
commit 868fb6d053
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Make sure everything really stops when CTRL+C is pressed