~ubuntu-branches/debian/sid/eso-midas/sid

« back to all changes in this revision

Viewing changes to debian/patches/fix_shellscripts.patch

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-sl34juxohmn4aty4
Tags: 13.09pl1.2+dfsg-1
Initial release. (Closes: #740702)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Ole Streicher <debian@liska.ath.cx>
 
2
Description: Fix various problems with provided shell scripts
 
3
--- a/install/unix/select
 
4
+++ b/install/unix/select
 
5
@@ -187,4 +187,3 @@
 
6
 cd $MID_INSTALL
 
7
 stty echo
 
8
 exit 0
 
9
-done
 
10
--- a/install/unix/select.sh
 
11
+++ b/install/unix/select.sh
 
12
@@ -187,4 +187,3 @@
 
13
 cd $MID_INSTALL
 
14
 stty echo
 
15
 exit 0
 
16
-done
 
17
--- a/systab/ascii/display/ittasc.sh
 
18
+++ b/systab/ascii/display/ittasc.sh
 
19
@@ -1,4 +1,4 @@
 
20
-#!/usr/bin/sh
 
21
+#!/bin/sh
 
22
 # @(#)ittasc.sh        19.1 (ESO-IPG) 02/25/03 14:30:08
 
23
 # 
 
24
 # Bourne shell script  ittasc.sh
 
25
--- a/systab/ascii/display/lutasc.sh
 
26
+++ b/systab/ascii/display/lutasc.sh
 
27
@@ -1,4 +1,4 @@
 
28
-#!/usr/bin/sh
 
29
+#!/bin/sh
 
30
 # 
 
31
 # @(#)lutasc.sh        19.1 (ESO-IPG) 02/25/03 14:30:09
 
32
 # Bourne shell script
 
33
--- a/applic/proc/fitcref.sh
 
34
+++ b/applic/proc/fitcref.sh
 
35
@@ -1,3 +1,4 @@
 
36
+#!/bin/sh
 
37
 # @(#)fitcref.sh       19.1 (ESO-IPG) 02/25/03 13:20:10
 
38
 # Shell procedure fitcref.sh 
 
39
 # called from fitcref.prg as $fitcref.sh
 
40
--- a/applic/proc/fitrepf.sh
 
41
+++ b/applic/proc/fitrepf.sh
 
42
@@ -1,3 +1,4 @@
 
43
+#!/bin/sh
 
44
 # @(#)fitrepf.sh       19.1 (ESO-IPG) 02/25/03 13:20:10
 
45
 # Shell procedure fitcref.sh 
 
46
 # called from fitcref.prg as $fitcref.sh
 
47
--- a/contrib/tsa/proc/tsadelcrf.sh
 
48
+++ b/contrib/tsa/proc/tsadelcrf.sh
 
49
@@ -1,3 +1,4 @@
 
50
+#!/bin/sh
 
51
 # @(#)tsadelcrf.sh     5.1 (ESO-IPG) 4/5/93 15:59:31
 
52
 #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 
53
 #.COPYRIGHT (c)  1992     European Southern Observatory and Warsaw Observatory
 
54
--- a/contrib/tsa/proc/tsaintcrf.sh
 
55
+++ b/contrib/tsa/proc/tsaintcrf.sh
 
56
@@ -1,3 +1,4 @@
 
57
+#!/bin/sh
 
58
 # @(#)tsaintcrf.sh     5.1 (ESO-IPG) 4/5/93 15:59:21
 
59
 #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 
60
 #.COPYRIGHT (c)  1992     European Southern Observatory and Warsaw Observatory
 
61
--- a/monit/devices.sh
 
62
+++ b/monit/devices.sh
 
63
@@ -1,3 +1,4 @@
 
64
+#!/bin/sh
 
65
 # -----------------------------------------------------------------------
 
66
 #
 
67
 # Bourne shell procedure  devices.sh
 
68
--- a/monit/persil.sh
 
69
+++ b/monit/persil.sh
 
70
@@ -1,3 +1,4 @@
 
71
+#!/bin/sh
 
72
 cd $HOME/midwork
 
73
 rm -f Midas_*
 
74
 rm -f FORGR* 
 
75
--- a/prim/help/gen_tapes.sh
 
76
+++ b/prim/help/gen_tapes.sh
 
77
@@ -1,4 +1,4 @@
 
78
-:
 
79
+#!/bin/sh
 
80
 # @(#)gen_tapes.sh     19.1 (ESO-IPG) 02/25/03 14:03:22
 
81
 # -----------------------------------------------------------------------
 
82
 # Bourne shell procedure  to generate output for the tapede.alq file 
 
83
--- a/prim/proc/rebcref.sh
 
84
+++ b/prim/proc/rebcref.sh
 
85
@@ -1,4 +1,4 @@
 
86
-:
 
87
+#!/bin/sh
 
88
 # @(#)rebcref.sh       19.1 (ESO-IPG) 02/25/03 14:09:14
 
89
 # 
 
90
 # Shell procedure rebcref.sh
 
91
--- a/system/exec/ftoc_nam.sh
 
92
+++ b/system/exec/ftoc_nam.sh
 
93
@@ -1,4 +1,3 @@
 
94
-:
 
95
 #! /bin/sh
 
96
 #  @(#)ftoc_nam.sh     19.1 (ESO-IPG) 02/25/03 14:31:08
 
97
 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,
 
98
--- a/system/exec/hlqtohlc.sh
 
99
+++ b/system/exec/hlqtohlc.sh
 
100
@@ -1,4 +1,3 @@
 
101
-:
 
102
 #! /bin/sh
 
103
 # @(#)hlqtohlc.sh      19.1 (ESO-IPG) 02/25/03 14:31:08
 
104
 # 
 
105
--- a/system/unix/add_sccs
 
106
+++ b/system/unix/add_sccs
 
107
@@ -1,4 +1,3 @@
 
108
-:
 
109
 #! /bin/sh
 
110
 # @(#)add_sccs.sh      19.1 (ESO-IPG) 02/25/03 14:31:58 
 
111
 
 
112
--- a/system/unix/add_sccs.sh
 
113
+++ b/system/unix/add_sccs.sh
 
114
@@ -1,4 +1,3 @@
 
115
-:
 
116
 #! /bin/sh
 
117
 # @(#)add_sccs.sh      19.1 (ESO-IPG) 02/25/03 14:31:58 
 
118
 
 
119
--- a/system/unix/install.sh
 
120
+++ b/system/unix/install.sh
 
121
@@ -1,3 +1,4 @@
 
122
+#!/bin/sh
 
123
 # @(#)install.sh       19.1 (ESO-IPG) 02/25/03 14:31:59
 
124
 #
 
125
 #  Installation script for MIDAS from CD-ROM with binaries.
 
126
--- a/system/unix/nmgrep
 
127
+++ b/system/unix/nmgrep
 
128
@@ -1,4 +1,4 @@
 
129
-:
 
130
+#!/bin/sh
 
131
 # @(#)nmgrep.sh        19.1 (ESO-IPG) 02/25/03 14:32:00
 
132
 pattern=$1
 
133
 shift
 
134
--- a/system/unix/nmgrep.sh
 
135
+++ b/system/unix/nmgrep.sh
 
136
@@ -1,4 +1,4 @@
 
137
-:
 
138
+#!/bin/sh
 
139
 # @(#)nmgrep.sh        19.1 (ESO-IPG) 02/25/03 14:32:00
 
140
 pattern=$1
 
141
 shift
 
142
--- a/system/unix/setmidas.sh
 
143
+++ b/system/unix/setmidas.sh
 
144
@@ -1,3 +1,4 @@
 
145
+#!/bin/sh
 
146
 #
 
147
 # @(#)setmidas.sh      19.1 (ESO-IPG) 02/25/03 14:32:00
 
148
 # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory,