[Pcsclite-git-commit] [website] 01/09: update.sh: always update releases.py

Ludovic Rousseau rousseau at moszumanska.debian.org
Wed Oct 28 12:52:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository website.

commit 747cdfc250f227f58160359a91b54c786cb91943
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Sat Oct 24 19:47:42 2015 +0200

    update.sh: always update releases.py
    
    Now that the script ./create_driver_version.sh is super fast using its
    cache mechanism we can call it every time and avoid out of date problems.
---
 update.sh | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/update.sh b/update.sh
index b9ef284..daf5256 100755
--- a/update.sh
+++ b/update.sh
@@ -6,13 +6,8 @@ set -x
 # update the .txt files
 rsync --archive ../CCID/readers/ ccid/readers/
 
-# update releases.py if needed
-newest=$(ls -t ccid/readers | head -1)
-# if the newsest file is NOT "supported_readers.txt" then we regenerate it
-if [ $newest != "supported_readers.txt" ]
-then
-	./create_driver_version.sh
-fi
+# update releases.py
+./create_driver_version.sh
 
 ./matrix.py
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/website.git



More information about the Pcsclite-cvs-commit mailing list