diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-05 14:00:57 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-05 14:00:57 +0000 |
commit | 25e6363e0e7f0ae3e8a6ed91c9733aad39ed98ed (patch) | |
tree | f1ff9b8ddabbdb3b0f16302b7c0b395b5b24379c | |
parent | ef35c1fd1226328a3ca2547519b8891e3f888d1b (diff) | |
download | ruby-25e6363e0e7f0ae3e8a6ed91c9733aad39ed98ed.tar.gz ruby-25e6363e0e7f0ae3e8a6ed91c9733aad39ed98ed.tar.xz ruby-25e6363e0e7f0ae3e8a6ed91c9733aad39ed98ed.zip |
* lib/fileutils.rb (ln): `argv' is not a argument.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/fileutils.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sun Jan 5 22:54:05 2003 WATANABE Hirofumi <eban@ruby-lang.org> + + * lib/fileutils.rb (ln): `argv' is not a argument. + Sun Jan 5 17:44:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> * ext/extmk.rb (extmake): set $0 temporarily while loading diff --git a/lib/fileutils.rb b/lib/fileutils.rb index c416213e4..0e8b8124d 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -326,7 +326,7 @@ module FileUtils def ln( src, dest, *options ) force, noop, verbose, = fu_parseargs(options, :force, :noop, :verbose) - fu_output_message "ln #{argv.join ' '}" if verbose + fu_output_message "ln #{[src,dest].flatten.join ' '}" if verbose return if noop fu_each_src_dest(src, dest) do |s,d| |