diff options
Diffstat (limited to 'testing/hime/use-bash-not-sh.patch')
-rw-r--r-- | testing/hime/use-bash-not-sh.patch | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/testing/hime/use-bash-not-sh.patch b/testing/hime/use-bash-not-sh.patch new file mode 100644 index 00000000000..006b13ef71a --- /dev/null +++ b/testing/hime/use-bash-not-sh.patch @@ -0,0 +1,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" + |