Don't preserve timestamps when copying sources to the temporary build directory.

This should fix issues like "ZIP does not support timestamps before 1980"
This commit is contained in:
Shea Levy 2012-12-14 13:36:04 -05:00
parent ea9d5e8e56
commit 6d928ab684

View File

@ -445,7 +445,7 @@ unpackFile() {
*)
if [ -d "$curSrc" ]; then
stripHash $curSrc
cp -prd $curSrc $strippedName
cp -prd --no-preserve=timestamps $curSrc $strippedName
else
if [ -z "$unpackCmd" ]; then
echo "source archive $curSrc has unknown type"