Kaynağa Gözat

Fix a shellcheck warning in test_parseconf.sh.

I wonder why this didn't show up before.
Nick Mathewson 5 yıl önce
ebeveyn
işleme
a1694b7363
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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=""