aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hime/use-bash-not-sh.patch
blob: 006b13ef71a021973e4acd14b31203f63e130f17 (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
--- a/filter/arukas
+++ b/filter/arukas
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter arukas version 0.0.1
   read -r -t 1 aa
   echo -n $aa        | \
--- a/filter/big5only
+++ b/filter/big5only
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter big5only version 0.0.1
   read -r -t 1 aa
   echo -n $aa        | \
--- a/filter/jp2cn
+++ b/filter/jp2cn
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter jp2cn version 0.0.3
   read -r aa
   MATCH=`tail -n 681 $0 | grep $aa | head -n 1`
--- a/filter/jp2tw
+++ b/filter/jp2tw
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter jp2tw version 0.0.3
   read -r aa
   MATCH=`tail -n 327 $0 | grep $aa | head -n 1`
--- a/filter/sakura
+++ b/filter/sakura
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter sakura version 0.0.3
   read -r -t 1 aa
   echo -n $aa        | \
--- a/filter/tw2jp
+++ b/filter/tw2jp
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter tw2jp version 0.0.2
   read -r aa
   MATCH=`tail -n 332 $0 | grep $aa | head -n 1`
--- a/filter/zh2jp
+++ b/filter/zh2jp
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter zh2jp version 0.0.2
   read -r aa
   MATCH=`tail -n 787 $0 | grep $aa | head -n 1`
--- a/filter/zh2tw
+++ b/filter/zh2tw
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # hime filter zh2tw version 0.0.3
   read -r -t 1 aa
   U2S=`echo -n $aa | iconv -f UTF-8 -t GB2312 -c`
--- a/scripts/gtab.append_prepare
+++ b/scripts/gtab.append_prepare
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 [ -f "$1" ] && exit 0
 
--- a/scripts/hime-env
+++ b/scripts/hime-env
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Copyright and license see bottom of this file
 echo "====Detecting hime install===="
 HIME_BINARY=$(whereis hime | cut -d ' ' -f 2)
--- a/scripts/hime-user-setup
+++ b/scripts/hime-user-setup
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 if [ -z "$1" ] || [ -z "$2" ]; then
     echo "please specify hime_table_dir hime_bin_dir"
--- a/scripts/tsin-gtab-import
+++ b/scripts/tsin-gtab-import
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 pushd "$HOME/.config/hime"
 f="$1.append.gtab.tsin-db"
--- a/scripts/utf8-edit
+++ b/scripts/utf8-edit
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 PATH="$PATH:/opt/gnome/bin:/usr/local/bin"