]> Creatis software - creaToolsTools.git/blobdiff - Linux/installscript
Added a new installation mode : via git repository without authentification (option...
[creaToolsTools.git] / Linux / installscript
index c20e72e7a930687a90710e2328f88c33e2e5eab6..8f9ae93b93e8eb73374a896621139a1eec0687f6 100755 (executable)
@@ -206,6 +206,7 @@ function usage {
     echo "        -instprefix <dir>     : creatools install prefix" 
     echo "        -instprefix3 <dir>    : 3rd party library install prefix" 
     echo "        -git                  : get creatools from git (CREATIS user only)"
+    echo "        -git-read-only        : get creatools from git (anonymously, no write access)"
     echo "        -build                : build type Release, RelWithDebug or Debug (default RelWithDebug)"
     echo ""
     echo "     experimental configure options (use at your own risk!!):"
@@ -227,6 +228,8 @@ while [ $# -ge 1 ] ; do
         -instprefix3)       installPrefixThird=$2;                     shift 2;;
         -doc)               docgeneration=ON;                          shift 1;;
         -git)               sourcesFrom=GIT;                           shift 1;;
+        -git-read-only)     sourcesFrom=GIT-READ-ONLY;
+shift 1;;
         -gdcm2)             gdcmVersion=GDCM2;                         shift 1;;
         -itk4)              ITKVersion=ITK4;                           shift 1;;
         -build)             buildType=$2;                              shift 2;;