diff options
author | monero-project <sempre.amaro@gmail.com> | 2014-04-30 13:07:00 -0400 |
---|---|---|
committer | monero-project <sempre.amaro@gmail.com> | 2014-04-30 13:07:00 -0400 |
commit | 9c70be0e77c3e0b9f4a06c962203d049851b6cc5 (patch) | |
tree | 1b408c4d4d155daf7f84a39923a36b7700409454 /Makefile | |
parent | return for unhandleable tx_extra (diff) | |
download | monero-9c70be0e77c3e0b9f4a06c962203d049851b6cc5.tar.xz |
prompt to delete build directory on 'make clean'
Diffstat (limited to 'Makefile')
-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: |