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

corentin-guest pushed a commit to branch master
in repository fw4spl.

commit aebf1274866f7e5417efdd4ee8aa3fbdf50e6dc1
Author: Corentin Desfarges <[email protected]>
Date:   Thu Jan 8 15:17:45 2015 +0100

    add script to get data for unit tests
---
 debian/get_data.sh | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/debian/get_data.sh b/debian/get_data.sh
new file mode 100755
index 0000000..49074a5
--- /dev/null
+++ b/debian/get_data.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+cd ..
+
+if [ -d "data" ]
+then
+       nbfic=$(ls -R data | wc -l)
+       if [ $nbfic -ne 710 ]
+       then
+               rm -rf ./data
+               debian/get_data.sh
+       else
+               echo Data are now at : $PWD/data
+       fi
+else
+       mkdir data
+       cd data
+       wget -O data_tmp.tar.gz 
"https://owncloud.u-strasbg.fr/public.php?service=files&t=cf16caedb901e9f2be2a0e21ea6c18bf&download";
+       tar -xvf data_tmp.tar.gz
+       rm -rf data_tmp.tar.gz
+       echo Data are now at : $PWD/data
+fi
+

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

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to