X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tests%2Ffetch_data_test.sh;h=f516146d511b7520cb40db727290f92a673ecd2b;hb=4e01ca1a00455f4bacc778aca446bbdf2bc1c74d;hp=e31c84fdf00ef5572f6b6c8c2d877b1841e16957;hpb=1a8450d4940e31424315290bec3139418aadd87c;p=clitk.git diff --git a/tests/fetch_data_test.sh b/tests/fetch_data_test.sh index e31c84f..f516146 100755 --- a/tests/fetch_data_test.sh +++ b/tests/fetch_data_test.sh @@ -2,22 +2,11 @@ # # arg[1] is TESTING_BINARY_DIR # This script has been edited from itk/Modules/ThirdParty/NIFTI/src/nifti/Testing/nifti_regress_test/cmake_testscripts/fetch_data_test.sh -if [ $# -lt 1 ] -then -echo Missing Binary directory name -exit 1 -fi - -repo=http://localhost/data/.git - if cd $1 then -echo working in `pwd` + git pull else -echo can\'t cd to $1 -exit 1 + git clone $2 $1 fi - -git clone $server$archive $1 exit 0