summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/ticket300793
-rwxr-xr-xsrc/test/fuzz/minimize.sh2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/ticket30079 b/changes/ticket30079
new file mode 100644
index 0000000000..56b88e7f53
--- /dev/null
+++ b/changes/ticket30079
@@ -0,0 +1,3 @@
+ o Code simplification and refactoring (shell scripts):
+ - Fix shellcheck warning SC2006 in src/test/fuzz/minimize.sh. Resolves
+ issue 30079.
diff --git a/src/test/fuzz/minimize.sh b/src/test/fuzz/minimize.sh
index 87d3dda13c..ce43812bb8 100755
--- a/src/test/fuzz/minimize.sh
+++ b/src/test/fuzz/minimize.sh
@@ -7,7 +7,7 @@ if [ ! -d "$1" ] ; then
exit 1
fi
-which=`basename "$1"`
+which=$(basename "$1")
mkdir "$1.out"
afl-cmin -i "$1" -o "$1.out" -m none "./src/test/fuzz/fuzz-${which}"