Skip to content

Commit ccefded

Browse files
miRooxChao Song
authored andcommitted
check-fw-echo-reference: fix shellcheck
correct way to give the hint about the source path to shellcheck Signed-off-by: Yong-an Lu <yongan.lu@intel.com>
1 parent 27843b5 commit ccefded

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test-case/check-fw-echo-reference.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ set -e
2020
rm -f /tmp/bat.wav.*
2121

2222
# shellcheck source=case-lib/lib.sh
23-
libdir=$(dirname "${BASH_SOURCE[0]}")
24-
source "$libdir"/../case-lib/lib.sh
23+
source "$(dirname "${BASH_SOURCE[0]}")"/../case-lib/lib.sh
2524

2625
OPT_NAME['t']='tplg' OPT_DESC['t']='tplg file, default value is env TPLG: $''TPLG'
2726
OPT_HAS_ARG['t']=1 OPT_VAL['t']="$TPLG"

0 commit comments

Comments
 (0)