summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Santoro <dereckson@espace-win.org>2013-10-28 09:26:12 +0100
committerSébastien Santoro <dereckson@espace-win.org>2013-10-28 09:26:12 +0100
commit868fb6d053c686aab9c6b02ab150ddbb45c36f73 (patch)
treea68db573a2280e89be304175a35314f54f538f39
parent316e2ce58a0f01e753fe9df81a7971270419202e (diff)
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.
-rw-r--r--rsync_tmbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh
index 4b88d84..bb961c2 100644
--- a/rsync_tmbackup.sh
+++ b/rsync_tmbackup.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Make sure everything really stops when CTRL+C is pressed