From 75f7d6d23d560cf2fa6bf831a17c7c4450f38d3a Mon Sep 17 00:00:00 2001 From: Roman Joost Date: Tue, 23 Sep 2014 09:36:05 +1000 Subject: [PATCH] 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. --- bindings/tcl/ifOctets.tcl.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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@ -- 2.47.2