Commit 7dcfb6bf authored by Laurent Montel's avatar Laurent Montel
Browse files

Improve script

parent 17634bd2
Pipeline #236929 passed with stage
in 17 seconds
......@@ -76,6 +76,21 @@ test_include() {
echo "first car : $firstCar";
if test "$firstCar" = "Q" || test "$firstCar" = "K" ; then
case $newname in
QObject)
number=$(grep -c "QT_VERSION_CHECK" "$file");
echo "QObject $number";
if test "$number" = 0 ; then
remove_include;
fi
;;
KJobUiDelegate)
number=$(grep -c "uiDelegate()" "$file");
echo "KJobUiDelegate $number";
if test "$number" = 0 ; then
remove_include;
fi
;;
QtDBus)
number=$(grep -c QDBusInterface "$file");
echo "QDBusInterface $number";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment