[tor-commits] [tor/master] Fix a shellcheck warning in test_parseconf.sh.
asn at torproject.org
asn at torproject.org
Mon Sep 16 16:44:06 UTC 2019
commit a1694b73632952e15c9d54ae3306e641a8d5e94a
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon Sep 16 09:22:43 2019 -0400
Fix a shellcheck warning in test_parseconf.sh.
I wonder why this didn't show up before.
---
src/test/test_parseconf.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_parseconf.sh b/src/test/test_parseconf.sh
index 2175db48a..bc526419c 100755
--- a/src/test/test_parseconf.sh
+++ b/src/test/test_parseconf.sh
@@ -43,7 +43,7 @@ die() { echo "$1" >&2 ; exit 5; }
# emulate realpath(), in case coreutils or equivalent is not installed.
abspath() {
- f=$@
+ f="$*"
if [ -d "$f" ]; then
dir="$f"
base=""
More information about the tor-commits
mailing list