diff options
author | Kuang-che Wu <kcwu@csie.org> | 2014-12-06 16:15:57 +0800 |
---|---|---|
committer | Kuang-che Wu <kcwu@csie.org> | 2014-12-06 16:24:06 +0800 |
commit | c36028552823ef728da8df4037a35001d95a0afe (patch) | |
tree | fec4e233f0ddcc097707daefb0d8a382c395c4fe /sources/projects | |
parent | f9994a2346cab060274946a82c444d087f67b523 (diff) | |
download | taginfo-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/projects')
-rwxr-xr-x | sources/projects/import.rb | 2 | ||||
-rwxr-xr-x | sources/projects/parse.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/projects/import.rb b/sources/projects/import.rb index 46ebc60..5b1f0b4 100755 --- a/sources/projects/import.rb +++ b/sources/projects/import.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby #------------------------------------------------------------------------------ # # Taginfo source: Projects diff --git a/sources/projects/parse.rb b/sources/projects/parse.rb index 40bd288..f077a70 100755 --- a/sources/projects/parse.rb +++ b/sources/projects/parse.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby #------------------------------------------------------------------------------ # # Taginfo source: Projects |