about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-08 12:29:47 +0100
committervan Hauser <vh@thc.org>2020-12-08 12:29:47 +0100
commit8999023432b515e62b5074e5cba1ad2c5d866753 (patch)
tree19d386565ebbdce9b3fb99f0f7bab23eb2714fca
parentda6cddab904e363775f157ceafa932f3cdaf6121 (diff)
downloadafl++-8999023432b515e62b5074e5cba1ad2c5d866753.tar.gz
fixes for grammar scripts
-rwxr-xr-x[-rw-r--r--]custom_mutators/grammar_mutator/build_grammar_mutator.sh2
-rwxr-xr-x[-rw-r--r--]custom_mutators/grammar_mutator/update_grammar_ref.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/custom_mutators/grammar_mutator/build_grammar_mutator.sh b/custom_mutators/grammar_mutator/build_grammar_mutator.sh
index b097ebd3..9251ff24 100644..100755
--- a/custom_mutators/grammar_mutator/build_grammar_mutator.sh
+++ b/custom_mutators/grammar_mutator/build_grammar_mutator.sh
@@ -113,7 +113,7 @@ else
     CNT=1
     while [ '!' -d grammar_mutator -a "$CNT" -lt 4 ]; do
       echo "Trying to clone grammar_mutator (attempt $CNT/3)"
-      git clone --depth=1 "$GRAMMAR_REPO" 
+      git clone "$GRAMMAR_REPO" 
       CNT=`expr "$CNT" + 1`
     done
   }
diff --git a/custom_mutators/grammar_mutator/update_grammar_ref.sh b/custom_mutators/grammar_mutator/update_grammar_ref.sh
index 478a73a8..89067b13 100644..100755
--- a/custom_mutators/grammar_mutator/update_grammar_ref.sh
+++ b/custom_mutators/grammar_mutator/update_grammar_ref.sh
@@ -1,4 +1,4 @@
-#/bin/sh
+#!/bin/sh
 
 ##################################################
 # AFL++ tool to update a git ref.