Accept $TMP, $TMPDIR, $TEMP, and $TEMPDIR paths in purity check
This commit is contained in:
parent
872f2b76c1
commit
5796715bb7
@ -69,9 +69,13 @@ badPath() {
|
|||||||
# directory (including the build directory).
|
# directory (including the build directory).
|
||||||
test \
|
test \
|
||||||
"$p" != "/dev/null" -a \
|
"$p" != "/dev/null" -a \
|
||||||
"${p#${NIX_STORE}}" = "$p" -a \
|
"${p#${NIX_STORE}}" = "$p" -a \
|
||||||
"${p#${TMP:-/tmp}}" = "$p" -a \
|
"${p#${NIX_BUILD_TOP}}" = "$p" -a \
|
||||||
"${p#${NIX_BUILD_TOP}}" = "$p"
|
"${p#/tmp}" = "$p" -a \
|
||||||
|
"${p#${TMP:-/tmp}}" = "$p" -a \
|
||||||
|
"${p#${TMPDIR:-/tmp}}" = "$p" -a \
|
||||||
|
"${p#${TEMP:-/tmp}}" = "$p" -a \
|
||||||
|
"${p#${TEMPDIR:-/tmp}}" = "$p"
|
||||||
}
|
}
|
||||||
|
|
||||||
expandResponseParams() {
|
expandResponseParams() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user