1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* pack.c (pack_pack): wrong # comment treatment.

* pack.c (pack_unpack): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2002-02-21 07:15:06 +00:00
parent 7f97e8948d
commit a08cea360d
5 changed files with 16 additions and 10 deletions

View file

@ -116,7 +116,7 @@ class Shell
attr_reader :process_controller
def expand_path(path)
if /^\// =~ path
if /^[\/~]/ =~ path
File.expand_path(path)
else
File.expand_path(File.join(@cwd, path))