qt5: more reproducible builds

Avoid mktemp -d in sources, where pathnames can affect result.
This commit is contained in:
Alexander V. Nikolaev 2016-12-02 14:28:59 +02:00
parent 69e0740baa
commit f0974e1e58
3 changed files with 3 additions and 3 deletions

View file

@ -91,7 +91,7 @@ _qtSetQmakePath() {
if [ -z "$NIX_QT5_TMP" ]; then
if [ -z "$NIX_QT_SUBMODULE" ]; then
NIX_QT5_TMP=$(mktemp -d)
NIX_QT5_TMP=$(pwd)/__nix_qt5__
else
NIX_QT5_TMP=$out
fi

View file

@ -91,7 +91,7 @@ _qtSetQmakePath() {
if [ -z "$NIX_QT5_TMP" ]; then
if [ -z "$NIX_QT_SUBMODULE" ]; then
NIX_QT5_TMP=$(mktemp -d)
NIX_QT5_TMP=$(pwd)/__nix_qt5__
else
NIX_QT5_TMP=$out
fi

View file

@ -91,7 +91,7 @@ _qtSetQmakePath() {
if [ -z "$NIX_QT5_TMP" ]; then
if [ -z "$NIX_QT_SUBMODULE" ]; then
NIX_QT5_TMP=$(mktemp -d)
NIX_QT5_TMP=$(pwd)/__nix_qt5__
else
NIX_QT5_TMP=$out
fi