]> Creatis software - cpPlugins.git/blobdiff - third_party_installers/cpPlugins_Install_VTK.sh
...
[cpPlugins.git] / third_party_installers / cpPlugins_Install_VTK.sh
index 06f6501a2fb7763bce460563565ec026e4fcd7ea..1f8ecc38ad5b59f8b16bee8a46f175e0a403a8de 100755 (executable)
@@ -174,6 +174,11 @@ echo "==> Platform          : $platform"
 echo "==> Number of cores   : $number_of_cores"
 echo "==> Number of threads : $number_of_threads"
 echo "====================================================================="
+read -n1 -r -p "Continue? [Y/N]... " key
+echo
+if [ "$key" != 'Y' -a "$key" != 'y' ] ; then
+    exit 1
+fi
 
 ## Create paths
 if [ "x$source_file" != "x" ]; then