aboutsummaryrefslogtreecommitdiff
path: root/sources/languages
diff options
context:
space:
mode:
authorKuang-che Wu <kcwu@csie.org>2014-12-06 16:15:57 +0800
committerKuang-che Wu <kcwu@csie.org>2014-12-06 16:24:06 +0800
commitc36028552823ef728da8df4037a35001d95a0afe (patch)
treefec4e233f0ddcc097707daefb0d8a382c395c4fe /sources/languages
parentf9994a2346cab060274946a82c444d087f67b523 (diff)
downloadtaginfo-c36028552823ef728da8df4037a35001d95a0afe.tar
taginfo-c36028552823ef728da8df4037a35001d95a0afe.tar.gz
Don't hard code ruby path
On FreeBSD, ruby is installed at /usr/local/bin/ruby. To make it more portable, find ruby interpreter from env (PATH).
Diffstat (limited to 'sources/languages')
-rwxr-xr-xsources/languages/import_subtag_registry.rb2
-rwxr-xr-xsources/languages/import_unicode_scripts.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/languages/import_subtag_registry.rb b/sources/languages/import_subtag_registry.rb
index 300b0fb..2a4abc1 100755
--- a/sources/languages/import_subtag_registry.rb
+++ b/sources/languages/import_subtag_registry.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
#------------------------------------------------------------------------------
#
# Taginfo source: Languages
diff --git a/sources/languages/import_unicode_scripts.rb b/sources/languages/import_unicode_scripts.rb
index e946983..b755527 100755
--- a/sources/languages/import_unicode_scripts.rb
+++ b/sources/languages/import_unicode_scripts.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
#------------------------------------------------------------------------------
#
# Taginfo source: Languages