]> Creatis software - cpPlugins.git/blobdiff - third_party_installers/cpPlugins_Install_ITK.sh
...
[cpPlugins.git] / third_party_installers / cpPlugins_Install_ITK.sh
index 4a97e9e63b79f45f8baa1700340f7c31738dd558..99dcd851ab913aa4f9e031d102a0a2e00acff861 100755 (executable)
@@ -148,6 +148,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