diff options
| author | Sébastien Santoro <dereckson@espace-win.org> | 2013-10-28 09:26:12 +0100 |
|---|---|---|
| committer | Sébastien Santoro <dereckson@espace-win.org> | 2013-10-28 09:26:12 +0100 |
| commit | 868fb6d053c686aab9c6b02ab150ddbb45c36f73 (patch) | |
| tree | a68db573a2280e89be304175a35314f54f538f39 | |
| parent | 316e2ce58a0f01e753fe9df81a7971270419202e (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.sh | 2 |
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 |
