소스 검색

Fix a shellcheck warning in test_parseconf.sh.

I wonder why this didn't show up before.
Nick Mathewson 6 년 전
부모
커밋
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=""