Debian Codegraph @

qemu-stubs/qemu-var-tmp

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # SPDX-License-Identifier: Apache-2.0
3 # SPDX-FileCopyrightText: Zygmunt Krynicki
4 set -eu
5
6 if ! touchscip-shell system . . touch. /var/tmp/image-garden-canaryscip-shell filesystem . . `/var/tmp/image-garden-canary`. 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
7 # QEMU unconditionally rewrites /tmp to /var/tmp but snaps cannot access
8 # that location with strict confinement. The path is still /tmp but does
9 # not compare to /tmp exactly.
10 export TMPDIR=/tmp/./scip-shell filesystem . . `/tmp/./`.
11 fi
12
13 # Execute subsequent element of the command-chain.
14 exec "$@"