File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
# This is unset by meson
6
+ # shellcheck disable=SC2157
6
7
if [ -z " @MESON@" ]; then
7
8
SOURCEDIR=" @MESON_SOURCE_ROOT@"
8
9
BUILDDIR=" @MESON_BUILD_ROOT@"
34
35
shift $(( OPTIND- 1 ))
35
36
36
37
if [ $# -eq 0 ]; then
37
- echo " Usage: $( basename ${BASH_SOURCE[0]} ) [options] <wireplumber|wpctl|wpexec|...>"
38
+ echo " Usage: $( basename " ${BASH_SOURCE[0]} " ) [options] <wireplumber|wpctl|wpexec|...>"
38
39
exit 1
39
40
fi
40
41
41
- if [ ! -d ${BUILDDIR} ]; then
42
+ if [ ! -d " ${BUILDDIR} " ]; then
42
43
echo " Invalid build directory: ${BUILDDIR} "
43
44
exit 1
44
45
fi
@@ -51,4 +52,4 @@ export WIREPLUMBER_DATA_DIR="${SOURCEDIR}/src"
51
52
export PATH=" ${BUILDDIR} /src:${BUILDDIR} /src/tools:$PATH "
52
53
export LD_LIBRARY_PATH=" ${BUILDDIR} /lib/wp:$LD_LIBRARY_PATH "
53
54
54
- exec $@
55
+ exec " $@ "
You can’t perform that action at this time.
0 commit comments