summaryrefslogtreecommitdiff
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
commit27ff93a4eea5d1e681d4f9af323b3581599eb6ea (patch)
treef1ff9b8ddabbdb3b0f16302b7c0b395b5b24379c
parent1fbea3bef7065455a760e512a5a908a21022536a (diff)
* lib/fileutils.rb (ln): `argv' is not a argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/fileutils.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3123bf8c7c..606d5fa932 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 c416213e43..0e8b8124db 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|