summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-08-09 17:38:05 +0200
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-01 14:13:43 +1000
commite756bb808e6928b75a7c5df4059966e769711fad (patch)
treec4ca41b3119da79ef0d791363528e1ed1c8a6a2a /configure
parentc31972ae2c371839e70526dc0d862c4ff17591ac (diff)
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)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6187681469..e13c18378b 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"