diff options
author | mydesktop <dev.mc2@gmail.com> | 2014-04-30 13:01:32 -0400 |
---|---|---|
committer | mydesktop <dev.mc2@gmail.com> | 2014-04-30 13:01:32 -0400 |
commit | 8e92162d2c522d6dfa34cd7729c96231967e21c8 (patch) | |
tree | 75afca364f4a3a05a22f2eec4dd210859d4b56c0 /Makefile | |
parent | voting stopped (diff) | |
download | monero-8e92162d2c522d6dfa34cd7729c96231967e21c8.tar.xz |
Warn user on attempting to remove build directory for make clean
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |