[Pcsclite-git-commit] [pcsc-tools] 02/02: ATR_analysis: get the correct time for cache ATR list
Ludovic Rousseau
rousseau at moszumanska.debian.org
Tue Aug 4 15:40:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository pcsc-tools.
commit a4165dbd2baca4588c4ac8b21bc40a6dc21c54d8
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Tue Aug 4 11:05:45 2015 +0200
ATR_analysis: get the correct time for cache ATR list
wget --output-document=foo will set the date (and time) of the file foo
to the date of the remote file. But we want the file to have the date
the wget was run and not the date the remote file was last updated.
We new use get $url --output-file=foo
Problem detected on Debian jessie (8.1)
---
ATR_analysis | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ATR_analysis b/ATR_analysis
index 7f2c4e5..e58d643 100755
--- a/ATR_analysis
+++ b/ATR_analysis
@@ -249,7 +249,7 @@ sub update_smartcard_list($$)
}
else
{
- system("wget $url --output-document=$file");
+ system("wget $url --output-file=$file");
}
# did an update
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/pcsc-tools.git
More information about the Pcsclite-cvs-commit
mailing list