]> Creatis software - cpPlugins.git/blobdiff - third_party_installers/cpPlugins_Install_CMAKE.sh
Code cleaning
[cpPlugins.git] / third_party_installers / cpPlugins_Install_CMAKE.sh
index 07cc1a8194c538dae0ef1e7028b8d01dad4e1453..ed6256f1d1f3e3a4526dc97ef5a2227ab267e3a2 100755 (executable)
@@ -141,6 +141,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