From: Andrew Dolgov Date: Wed, 26 Apr 2017 12:38:40 +0000 (+0300) Subject: fix phpmd.sh X-Git-Tag: 17.12~232 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9b666d2aa1d6a7fd9f239708ba2c59da5dfb9ca7;p=tt-rss.git fix phpmd.sh --- diff --git a/utils/gitlab-ci/phpmd.sh b/utils/gitlab-ci/phpmd.sh index 3f3b376b..e5bad474 100644 --- a/utils/gitlab-ci/phpmd.sh +++ b/utils/gitlab-ci/phpmd.sh @@ -1,7 +1,7 @@ #!/bin/sh -e -phpmd include text utils/gitlab-ci/phpmd-ruleset.xml -phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml +#phpmd include text utils/gitlab-ci/phpmd-ruleset.xml +#phpmd classes text utils/gitlab-ci/phpmd-ruleset.xml -FILES=$(ls -dm *.php | sed "s/ //g") +FILES=$(ls -dm *.php | tr -d " "| tr -d "\n") phpmd $FILES text utils/gitlab-ci/phpmd-ruleset.xml