Skip to content

strip_leading_dir is not always reliable with tar archives #36

zimbatm opened this Issue Mar 6, 2013 · 0 comments

1 participant

zimbatm commented Mar 6, 2013

I don't know why yet exactly why but the prefix folder in the following archive is not stripped correctly.

If I run the tar xzvf --strip-components=0 or --strip-components=1 I still get the "moodle" sub-folder. --strip-components=2 does strip it though.

If I try to run tar -tzvf you can see that all files are prefixed with "./" which might be the reasons of the difference.

ark "moodle" do
  url ""
  version '2.4.1'
  action :install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.