aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonero-project <sempre.amaro@gmail.com>2014-04-30 16:41:03 -0400
committermonero-project <sempre.amaro@gmail.com>2014-04-30 16:41:03 -0400
commit8658f202325f61ec5351a5b0a7dd190e8b7b0fdc (patch)
treebec716ebad81ae3eef4e6b70d5dd6473ccbea966
parentRevert "prompt to delete build directory on 'make clean'" (diff)
downloadmonero-8658f202325f61ec5351a5b0a7dd190e8b7b0fdc.tar.xz
how does github lol
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 451319b08..65b72d4e1 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,9 @@ test-release: build-release
all-release: build-release
clean:
+ @echo "WARNING: Back-up your wallet if it exists within ./build!" ; \
+ read -r -p "This will destroy the build directory, continue (y/N)?: " CONTINUE; \
+ [ $$CONTINUE = "y" ] || [ $$CONTINUE = "Y" ] || (echo "Exiting."; exit 1;)
rm -rf build
tags: