Created
March 24, 2010 13:30
-
-
Save dagolden/342277 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Archive::Tar versions >= 1.09 use the following to enable a compatibility | |
# hack so that the resulting archive is compatible with older clients. | |
# If no file path is 100 chars or longer, we disable the prefix field | |
# for maximum compatibility. If there are any long file paths then we | |
# need the prefix field after all. | |
$Archive::Tar::DO_NOT_USE_PREFIX = | |
(grep { length($_) >= 100 } @$files) ? 0 : 1; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment