summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
-rwxr-xr-xmsgmerge-wrapper.rb (renamed from bin/msgmerge-wrapper.rb)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index d37e7fb9..ad4e469c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -56,7 +56,7 @@ rule(%r'^po/.+\.pot$' => proc {|fn|
# fail. we provide a wrapper to work around it. see bin/msgmerge-wrapper.rb for
# details
ENV['REAL_MSGMERGE_PATH'] = ENV['MSGMERGE_PATH']
-ENV['MSGMERGE_PATH'] = 'bin/msgmerge-wrapper.rb'
+ENV['MSGMERGE_PATH'] = ENV['MSGMERGE_WRAPPER_PATH'] || 'ruby msgmerge-wrapper.rb'
rule(%r'^po/.+/.+\.po$' => proc {|fn| fn.pathmap '%{^po/.+/,po/}X.pot'}) do |t|
require 'gettext/utils'
po_file, pot_file = t.name, t.source
diff --git a/bin/msgmerge-wrapper.rb b/msgmerge-wrapper.rb
index 975107e3..975107e3 100755
--- a/bin/msgmerge-wrapper.rb
+++ b/msgmerge-wrapper.rb