OSDN Git Service
(root)
/
o-dic
/
o-dic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
どのパスでスクリプトを実行しても scripts/ODIC.pm を読めるように修正した。
[o-dic/o-dic.git]
/
script
/
oki2msime.pl
diff --git
a/script/oki2msime.pl
b/script/oki2msime.pl
index
eff0f6f
..
ec970a7
100755
(executable)
--- a/
script/oki2msime.pl
+++ b/
script/oki2msime.pl
@@
-18,7
+18,9
@@
# 辞書にインポートする場合には、UTF-8 で出力してから、Notepad.exeなどで
# 「Unicode」(UTF-16LE BOM付き)に変換してください。
#
# 辞書にインポートする場合には、UTF-8 で出力してから、Notepad.exeなどで
# 「Unicode」(UTF-16LE BOM付き)に変換してください。
#
-require 5.6.0;
+use 5.10.1; # for "use feature 'switch'"
+use FindBin;
+use lib $FindBin::Bin; # For search scripts/ODIC.pm
require 'ODIC.pm';
use strict;
use feature 'switch';
require 'ODIC.pm';
use strict;
use feature 'switch';