qt-5/qtbase-setup-hook.sh: attempt to make directories only if needed

Resolves #29589.
This commit is contained in:
xd1le 2017-09-22 22:26:02 +10:00
parent c8e7aab0c8
commit 99eabd6c06

View File

@ -123,7 +123,7 @@ if [ -z "$NIX_QT5_TMP" ]; then
mkdir -p "$NIX_QT5_TMP/nix-support"
for subdir in bin include lib mkspecs share; do
mkdir "$NIX_QT5_TMP/$subdir"
mkdir -p "$NIX_QT5_TMP/$subdir"
echo "$subdir/" >> "$NIX_QT5_TMP/nix-support/qt-inputs"
done