From: Roman Joost Date: Mon, 22 Sep 2014 23:36:05 +0000 (+1000) Subject: Use `env` to start tclsh instead of /bin/bash X-Git-Tag: v1.5.0-rc1~29^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F541%2Fhead;p=thirdparty%2Frrdtool-1.x.git Use `env` to start tclsh instead of /bin/bash 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. --- diff --git a/bindings/tcl/ifOctets.tcl.in b/bindings/tcl/ifOctets.tcl.in index 7a36397c..3c837538 100644 --- a/bindings/tcl/ifOctets.tcl.in +++ b/bindings/tcl/ifOctets.tcl.in @@ -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@