diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-12 07:49:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-12 07:49:22 +0000 |
commit | 9aa8fcde5565a49abf97991a7914b05c66232f0f (patch) | |
tree | ba20774c895ef316a0fd472e57bcce39cf101cd2 /instruby.rb | |
parent | 729b4a813b40c30ef7940f54ecb7759dbfb4b615 (diff) |
* instruby.rb (install): erased a garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rwxr-xr-x | instruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index ae7ddd962e..bf6840ca26 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 |