diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-29 08:26:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-29 08:26:45 +0000 |
commit | bc3e73a8f3db588b7b72e0baf87a6eb3c7d7e61f (patch) | |
tree | 2ab865f5488237995bdc407eb6db30ef3c7d29da | |
parent | 9443203ee829622ae44e2722df0e14dfeeec2ee3 (diff) | |
download | ruby-bc3e73a8f3db588b7b72e0baf87a6eb3c7d7e61f.tar.gz |
rbinstall.rb: literal colon
* tool/rbinstall.rb (PROLOG_SCRIPT): ":" in "Use Alternate Value"
parameter expansion is not a path separator, but a literal colon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 43efc15671..5c420bf023 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -424,7 +424,7 @@ EOS pathsep = File::PATH_SEPARATOR PROLOG_SCRIPT << <<EOS prefix="${bindir%/bin}" -export #{libpathenv}="$prefix/lib${#{libpathenv}#{pathsep}+#{pathsep}$#{libpathenv}}" +export #{libpathenv}="$prefix/lib${#{libpathenv}:+#{pathsep}$#{libpathenv}}" EOS end PROLOG_SCRIPT << %Q[exec "$bindir/#{ruby_install_name}" -x "$0" "$@"\n] |