keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

make sure that we always untar aur packages to a predictable directory #73

Closed jdodds closed 12 years ago

jdodds commented 12 years ago

I ran into a package whose top-level directory in the tar wasn't the same as the name of the package. This ensures that we'll always be untarring into the "correct" directory.

bruenig commented 12 years ago

Not totally clear what that does, but it looks good, and so I put it in.

jdodds commented 12 years ago

-C dir untars to dir, and --strip-components=1 skips creating the first directory from the tarfile, kinda like patch -p1