diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-11-05 10:37:52 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-11-06 22:30:01 +0100 |
commit | 043e8a40cd68c7aa25d0e4d4d9c44b6f14774e23 (patch) | |
tree | d9480e3ee89317a88d62ceef4c200157b9d27a31 /scripts | |
parent | f0189984c462ed57b33ad1949ce07dea921547bd (diff) | |
download | ptxdist-043e8a40cd68c7aa25d0e4d4d9c44b6f14774e23.tar.gz ptxdist-043e8a40cd68c7aa25d0e4d4d9c44b6f14774e23.tar.xz |
ptxd_make_get: touch the file instead of wget --no-use-server-timestamps
The "--no-use-server-timestamps" only exists since wget 1.13
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_get.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh index 1e70034b8..0b3822db8 100644 --- a/scripts/lib/ptxd_make_get.sh +++ b/scripts/lib/ptxd_make_get.sh @@ -52,12 +52,12 @@ ptxd_make_get_http() { --progress=bar:force \ --timeout=30 \ --tries=5 \ - --no-use-server-timestamps \ ${PTXDIST_QUIET:+--quiet} \ "${opts[@]}" \ -O "${temp_file}" \ "${url}" && { chmod 644 -- "${temp_file}" && + touch -- "${temp_file}" && mv -- "${temp_file}" "${path}" return } |