]> Creatis software - cpPlugins.git/blobdiff - third_party_installers/cpPlugins_Install_QT4.sh
...
[cpPlugins.git] / third_party_installers / cpPlugins_Install_QT4.sh
index 09601292ba15f8a4666bd9b501d2e73deb1f4f30..36c5d13824804fcb952b9545ad86afee760e35c4 100755 (executable)
@@ -136,6 +136,11 @@ echo "==> Number of cores   : $number_of_cores"
 echo "==> Number of threads : $number_of_threads"
 echo "==> Patch file        : $patch_file"
 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