We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc4802 commit 70253a4Copy full SHA for 70253a4
1 file changed
case-lib/lib.sh
@@ -297,10 +297,10 @@ func_lib_get_tplg_path()
297
local tplg=$1
298
if [[ -z "$tplg" ]]; then # tplg given is empty
299
return 1
300
- elif [[ -f "$TPLG_ROOT/$(basename "$tplg")" ]]; then
301
- echo "$TPLG_ROOT/$(basename "$tplg")"
302
elif [[ -f "$tplg" ]]; then
303
realpath "$tplg"
+ elif [[ -f "$TPLG_ROOT/$tplg" ]]; then
+ echo "$TPLG_ROOT/$tplg"
304
else
305
306
fi
0 commit comments