diff options
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 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 |