]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix phpmd.sh
authorAndrew Dolgov <noreply@fakecake.org>
Wed, 26 Apr 2017 12:38:40 +0000 (15:38 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 26 Apr 2017 12:38:40 +0000 (15:38 +0300)
utils/gitlab-ci/phpmd.sh

index 3f3b376bcbf1e1afebfc729c6d304be6ec959ad6..e5bad474da4aee983683ea43a822b8b5857d8e55 100644 (file)
@@ -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