summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-08-09 15:38:05 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-01 04:13:43 (GMT)
commite756bb808e6928b75a7c5df4059966e769711fad (patch)
treec4ca41b3119da79ef0d791363528e1ed1c8a6a2a
parentc31972ae2c371839e70526dc0d862c4ff17591ac (diff)
downloadQt-e756bb808e6928b75a7c5df4059966e769711fad.zip
Qt-e756bb808e6928b75a7c5df4059966e769711fad.tar.gz
Qt-e756bb808e6928b75a7c5df4059966e769711fad.tar.bz2
configure: fix error message when calling config.status
Calling configure in a shadow build directory led to error messages when trying to delete the content of $$QT_BUILD_TREE/mkspecs. Task-number: QTBUG-12764 Reviewed-by: ossi (cherry picked from commit af3a204b8b3e780438c39425ba74338cc6a46a80)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6187681..e13c183 100755
--- a/configure
+++ b/configure
@@ -2353,7 +2353,7 @@ if [ "$OPT_SHADOW" = "yes" ]; then
# symlink the mkspecs directory
mkdir -p "$outpath/mkspecs"
- rm -f "$outpath"/mkspecs/*
+ rm -rf "$outpath"/mkspecs/*
ln -s "$relpath"/mkspecs/* "$outpath/mkspecs"
rm -f "$outpath/mkspecs/default"