buildpkg.functions: tell to curl use remote timestamp when downloading files

This commit is contained in:
Tom G. Christensen 2013-02-24 21:56:07 +01:00
parent b15779639a
commit dd2f1dece0

View File

@ -364,7 +364,7 @@ fetch_source()
if [ ! -r "$path/$file" ]; then
echo "fetch_source: Downloading $url"
if [ -x ${__curl} ]; then
${__curl} -# -L --retry 2 -C - -o $srcfiles/$file "$url"
${__curl} -R -# -L --retry 2 -C - -o $srcfiles/$file "$url"
else
error $E_MISSING_EXE fetch_source
fi