summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-05 07:04:10 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-05 07:04:10 +0000
commit15774ab1fbc7149adb9864817ed336375bfcc005 (patch)
treec495c53d1e086a4ffe6e65d46ee6a0df43d519e1 /lib
parenta287a10df79e77b288921e9c330cf31d6d23a317 (diff)
* instruby.rb: need paren in regexp(make -n install).
* ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw. * ext/extm.rb ($mflags): uniq items and remove '-' and '--'. move options to the lead. * lib/fileutils.rb (install): model on the real install command(message). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/fileutils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index b0fd62b0f2..c416213e43 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -590,7 +590,7 @@ module FileUtils
def install( src, dest, mode, *options )
noop, verbose, = fu_parseargs(options, :noop, :verbose)
- fu_output_message "install#{mode ? ' %o'%mode : ''} #{[src,dest].flatten.join ' '}" if verbose
+ fu_output_message "install -c#{mode ? ' -m 0%o'%mode : ''} #{[src,dest].flatten.join ' '}" if verbose
return if noop
fu_each_src_dest(src, dest) do |s,d|