summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-08-09 15:38:05 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-08-09 15:45:40 (GMT)
commitaf3a204b8b3e780438c39425ba74338cc6a46a80 (patch)
treefe3a00474c8daab4f057f828b8329d9a084197e8 /configure
parent3b9c811a658d45f6e84a98ac26a5d122b34254fc (diff)
downloadQt-af3a204b8b3e780438c39425ba74338cc6a46a80.zip
Qt-af3a204b8b3e780438c39425ba74338cc6a46a80.tar.gz
Qt-af3a204b8b3e780438c39425ba74338cc6a46a80.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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 74f5505..25f1ef5 100755
--- a/configure
+++ b/configure
@@ -2407,7 +2407,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"