Package: magic / 8.1.218+ds.1-1~bpo9+1

06-script-adjustments.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Roland Stigge <stigge@antcom.de>
Date: Thu, 26 Jul 2018 18:14:03 +0000
Subject: Various #! script adjustments for Tcl scripts

This patch adjusts some Tcl scripts to Debian file locations
---
 ext2spice/spice2sim     | 2 +-
 tcltk/console.tcl       | 2 ++
 tcltk/strip_reflibs.tcl | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ext2spice/spice2sim b/ext2spice/spice2sim
index 2ea85f7..c9a9e6f 100755
--- a/ext2spice/spice2sim
+++ b/ext2spice/spice2sim
@@ -1,4 +1,4 @@
-#!/bin/awk -f
+#!/usr/bin/awk -f
 # convert an ext2spice produced file to a .sim file for debugging
 #
 BEGIN {
diff --git a/tcltk/console.tcl b/tcltk/console.tcl
index 40c80c5..0419996 100755
--- a/tcltk/console.tcl
+++ b/tcltk/console.tcl
@@ -1,3 +1,5 @@
+#!/usr/bin/tclsh
+#
 # console.tcl:
 #
 #  Defines Procedures which should be defined within the console
diff --git a/tcltk/strip_reflibs.tcl b/tcltk/strip_reflibs.tcl
index 516f4ea..ee58ddb 100755
--- a/tcltk/strip_reflibs.tcl
+++ b/tcltk/strip_reflibs.tcl
@@ -1,4 +1,4 @@
-#!/usr/local/bin/tclsh
+#!/usr/bin/tclsh
 #
 # Strip GDS cell references from magic files.
 #