[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix a shellcheck warning in test_parseconf.sh.
commit a1694b73632952e15c9d54ae3306e641a8d5e94a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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=""
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits