Преглед изворни кода

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.
 # emulate realpath(), in case coreutils or equivalent is not installed.
 abspath() {
 abspath() {
-    f=$@
+    f="$*"
     if [ -d "$f" ]; then
     if [ -d "$f" ]; then
         dir="$f"
         dir="$f"
         base=""
         base=""