qt5: Fallback to mktemp -d for temporary QT root.
Fallback to `mktemp -d` for temporary QT root, if invoked in shell mode. Should fix problem from #27174.
This commit is contained in:
parent
ef026e02fc
commit
eabe2efa10
|
@ -116,7 +116,11 @@ fi
|
||||||
|
|
||||||
if [ -z "$NIX_QT5_TMP" ]; then
|
if [ -z "$NIX_QT5_TMP" ]; then
|
||||||
if [ -z "$NIX_QT_SUBMODULE" ]; then
|
if [ -z "$NIX_QT_SUBMODULE" ]; then
|
||||||
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
if [ -z "$IN_NIX_SHELL" ]; then
|
||||||
|
NIX_QT5_TMP=$(pwd)/__nix_qt5__
|
||||||
|
else
|
||||||
|
NIX_QT5_TMP=$(mktemp -d)
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
NIX_QT5_TMP=$out
|
NIX_QT5_TMP=$out
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue