summaryrefslogtreecommitdiffstats
path: root/instruby.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-12 07:49:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-12 07:49:22 +0000
commitdeab3ff8bbf66614894acc4e7a8b2b38e0a15da1 (patch)
treeba20774c895ef316a0fd472e57bcce39cf101cd2 /instruby.rb
parent58fd2ec4a94b20464d2bb8d79b1e86bf1e7d7b12 (diff)
downloadruby-deab3ff8bbf66614894acc4e7a8b2b38e0a15da1.tar.gz
ruby-deab3ff8bbf66614894acc4e7a8b2b38e0a15da1.tar.xz
ruby-deab3ff8bbf66614894acc4e7a8b2b38e0a15da1.zip
* instruby.rb (install): erased a garbage.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rwxr-xr-xinstruby.rb2
1 files changed, 1 insertions, 1 deletions
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