]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Use `env` to start tclsh instead of /bin/bash 541/head
authorRoman Joost <rjoost@redhat.com>
Mon, 22 Sep 2014 23:36:05 +0000 (09:36 +1000)
committerRoman Joost <rjoost@redhat.com>
Tue, 23 Sep 2014 00:02:02 +0000 (10:02 +1000)
This patch replaces the shebang line using /bin/bash with /usr/bin/env.
The previous version obfuscates which shell is being used by the tcl
script. Any benefits of using Bash as a start up are provided by `env`.

This closes issue #537.

bindings/tcl/ifOctets.tcl.in

index 7a36397c7afaba88152e55ef5f9e6c5d0a8312e3..3c837538b4c5f40d6ac299a11fb9da56617d122c 100644 (file)
@@ -1,6 +1,4 @@
-#!/bin/sh
-# the next line restarts using tclsh -*- tcl -*- \
-exec tclsh@TCL_VERSION@ "$0" "$@"
+#!/usr/bin/env tclsh@TCL_VERSION@
 
 #package require Tnm 3.0
 package require Rrd @VERSION@