Skip to content
Browse files

- don't prefix with './' not needed. Tests verify.

  • Loading branch information...
1 parent 5a2ade8 commit 673717ac27976adb23dd1d8011850bd5a1802772 @jordansissel committed Sep 8, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/fpm/source/dir.rb
View
4 lib/fpm/source/dir.rb
@@ -50,9 +50,7 @@ def make_tarball!(tar_path, builddir)
tar(tar_path, ".")
end
else
- # Prefix everything with "./" as per the Debian way if needed ...
- path = paths.map { |p| p.match(/^(\.\/|\.)/) ? p : "./%s" % p }
- tar(tar_path, path)
+ tar(tar_path, paths)
end
# TODO(sissel): Make a helper method.

1 comment on commit 673717a

@kwilczynski

I wasn't sure whether this was needed or not. Documentation is so-so in some areas :) But, glad to see that this is not needed :)

Please sign in to comment.
Something went wrong with that request. Please try again.