Skip to content
Snippets Groups Projects
Commit e8248520 authored by Simon McVittie's avatar Simon McVittie
Browse files

pressure-vessel-wrap: Silence some shellcheck warnings

parent 0d8f25c0
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,8 @@ fi
if [ -n "$verbose" ]; then
echo "Original argv:" >&2
# Deliberately not expanding $0 in format string
# shellcheck disable=SC2016
printf '\t$0: %q\n' "$0" >&2
for arg in "${original_argv[@]}"; do
printf '\t$@: %q\n' "$arg" >&2
......@@ -586,6 +588,8 @@ if [ -n "$runtime" ]; then
--dest="$tmpdir/overrides/lib/$t" \
--provider="/" \
"only-dependencies:if-exists:path-match:$dir/dri/*.so"
# Deliberately not expanding $1, $2 in sh -c
# shellcheck disable=SC2016
"$BWRAP" \
--ro-bind / / \
--tmpfs /run \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment