浏览代码

Fix a shellcheck warning in test_parseconf.sh.

I wonder why this didn't show up before.
Nick Mathewson 5 年之前
父节点
当前提交
a1694b7363
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/test/test_parseconf.sh

+ 1 - 1
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=""