mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Fix shellcheck warnings
This commit is contained in:
parent
ebe5fa7809
commit
61dd645c63
3 changed files with 13 additions and 13 deletions
|
|
@ -14,11 +14,11 @@ while getopts ":b:v:" opt; do
|
|||
;;
|
||||
\?)
|
||||
echo "Invalid option: -${OPTARG}"
|
||||
exit -1
|
||||
exit 1
|
||||
;;
|
||||
:)
|
||||
echo "Option -${OPTARG} requires an argument"
|
||||
exit -1
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
@ -28,9 +28,9 @@ if [ -z "${BUILDDIR}" ]; then
|
|||
echo "Using default build directory: ${BUILDDIR}"
|
||||
fi
|
||||
|
||||
if [ ! -d ${BUILDDIR} ]; then
|
||||
if [ ! -d "${BUILDDIR}" ]; then
|
||||
echo "Invalid build directory: ${BUILDDIR}"
|
||||
exit -1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# the config file read by the daemon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue