From deab3ff8bbf66614894acc4e7a8b2b38e0a15da1 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 12 Jan 2009 07:49:22 +0000 Subject: * instruby.rb (install): erased a garbage. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- instruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instruby.rb b/instruby.rb index ae7ddd962..bf6840ca2 100755 --- a/instruby.rb +++ b/instruby.rb @@ -151,7 +151,7 @@ def install(src, dest, options = {}) options[:preserve] = true d = with_destdir(dest) super(src, d, options) - if strip and cmd = + if strip d = File.join(d, File.basename(src)) if $made_dirs[dest] strip_file(d) end -- cgit