summaryrefslogtreecommitdiff
path: root/tools/ci
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-06-25 16:47:29 -0300
committerJesusaves <cpntb1@ymail.com>2023-06-25 16:47:29 -0300
commitdc30332cf167feafe7b123e2b75d57e03a68e50d (patch)
treeceff8f79eeed205cdaa0ef8bf3ac407f57ddd2aa /tools/ci
parentc5bc7240438be03fd0181be39a635cc06557324f (diff)
downloadplus-dc30332cf167feafe7b123e2b75d57e03a68e50d.tar.gz
plus-dc30332cf167feafe7b123e2b75d57e03a68e50d.tar.bz2
plus-dc30332cf167feafe7b123e2b75d57e03a68e50d.tar.xz
plus-dc30332cf167feafe7b123e2b75d57e03a68e50d.zip
Be slightly more smart when running mplintjesusalva/mplint
Inspired by https://stackoverflow.com/questions/918886/how-do-i-split-a-string-on-a-delimiter-in-bash why tf were we recompiling mplint three times, anyway.
Diffstat (limited to 'tools/ci')
-rwxr-xr-xtools/ci/jobs/mplint.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/ci/jobs/mplint.sh b/tools/ci/jobs/mplint.sh
index d3508759f..c1e817479 100755
--- a/tools/ci/jobs/mplint.sh
+++ b/tools/ci/jobs/mplint.sh
@@ -25,7 +25,11 @@ run_configure_simple
run_make
cd ..
echo " " >config.h
-run_mplint $*
+tasks=$(echo $* | tr " " "\n")
+for task in $tasks
+do
+ run_mplint $task
+done
source ./tools/ci/scripts/exit.sh