Backporting sanders' fix to the branch. svn path=/branches/KDE_2_1_BRANCH/kdesdk/scripts/; revision=85652