aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2021-03-17 05:13:34 +0100
committerDominik Maier <domenukk@gmail.com>2021-03-17 05:13:34 +0100
commitb715050de9846ab4b1f30a811af83b7a4b9e09a3 (patch)
treefba6e607404d3170e0a0bc4993300eb977b18ea8
parentda5a32792d47e71d163009a98431cae0de189819 (diff)
downloadafl++-b715050de9846ab4b1f30a811af83b7a4b9e09a3.tar.gz
deepclean no longer removes submodules
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6c89bc6f..f885f998 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -576,7 +576,11 @@ endif
deepclean: clean
rm -rf unicorn_mode/unicornafl
rm -rf qemu_mode/qemuafl
+ifeq "$(IN_REPO)" "1"
# NEVER EVER ACTIVATE THAT!!!!! git reset --hard >/dev/null 2>&1 || true
+ git checkout unicorn_mode/unicornafl
+ git checkout qemu_mode/qemuafl
+endif
.PHONY: distrib
distrib: all