qtqa: Delete $qt_dir only if needed
authorSimo Fält <simo.falt@digia.com>
Thu, 28 Nov 2013 07:30:03 +0000 (09:30 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 1 Dec 2013 06:16:51 +0000 (07:16 +0100)
commit22c7a1f438ba9be1692f32d39ad1c7697ade8f9d
treec936b97fb7464e921b2cc8e7e7b5c5c435afc212
parent0c4f56346dd9d509c629a7f8d2fc247fd560caec
qtqa: Delete $qt_dir only if needed

Fix warning which says that script can't remove path when in it.
In this case the dir was already cleaned and it shouldn't be
deleted again.

Task-number: QTQAINFRA-778
Change-Id: Id22501d8ab886799cf873dc2b4588cc94cfcf612
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
scripts/qt/qtmod_test.pl