Use more portable -c and -r options to touch

This commit is contained in:
Will Angenent 2023-04-04 20:29:04 +01:00
parent ed33e340f2
commit a604a0663f

View File

@ -48,7 +48,7 @@ do
fi
# Match pkgar and tar time
touch --no-create --reference="${COOKBOOK_STAGE}.tar.gz" "${COOKBOOK_STAGE}.pkgar"
touch -c -r "${COOKBOOK_STAGE}.tar.gz" "${COOKBOOK_STAGE}.pkgar"
continue
fi