commit 0e0a0b9802e7e7bf192df9c93f257913e926033a Author: rl1987 rl1987@sdf.lonestar.org Date: Mon Apr 8 11:16:45 2019 +0300
Fix SC2006 in minimize.sh --- changes/ticket30079 | 3 +++ src/test/fuzz/minimize.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/changes/ticket30079 b/changes/ticket30079 new file mode 100644 index 000000000..56b88e7f5 --- /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 87d3dda13..ce43812bb 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}"
tor-commits@lists.torproject.org