summaryrefslogtreecommitdiffstats
path: root/lib/fileutils.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-05 14:00:57 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-05 14:00:57 +0000
commit25e6363e0e7f0ae3e8a6ed91c9733aad39ed98ed (patch)
treef1ff9b8ddabbdb3b0f16302b7c0b395b5b24379c /lib/fileutils.rb
parentef35c1fd1226328a3ca2547519b8891e3f888d1b (diff)
downloadruby-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
Diffstat (limited to 'lib/fileutils.rb')
-rw-r--r--lib/fileutils.rb2
1 files changed, 1 insertions, 1 deletions
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|