From 6366f4c5942aaaf7264d96aac038a4a7c9983195 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 4 Feb 2019 10:24:15 +0100 Subject: [PATCH] [codacy] minor issues in shell scripts. --- docs/Build.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/Build.sh b/docs/Build.sh index c7bfa41158..b9b55f2c60 100755 --- a/docs/Build.sh +++ b/docs/Build.sh @@ -32,16 +32,16 @@ PYTHONPATH=../lib sphinx-build -M html source build ${SPHINXOPTS} set +x -cat source/img/graphical-toc.svg \ - | perl -pe 's/(xlink:href="http)/target="_top" $1/' \ +< source/img/graphical-toc.svg \ + perl -pe 's/(xlink:href="http)/target="_top" $1/' \ | perl -pe 's/(xlink:href=".*?.html)/target="_top" $1/' \ > build/html/graphical-toc.svg echo "List of missing references:" -for f in `(grep '' build/xml/msg_8h.xml; \ - grep '' build/xml/namespacesimgrid_1_1s4u.xml; \ - grep ']*>//g'|sort` +for f in $( (grep '' build/xml/msg_8h.xml; \ + grep '' build/xml/namespacesimgrid_1_1s4u.xml; \ + grep ']*>//g' | sort ) do if grep $f source/*rst | grep -q '.. doxygen[^::]*:: '"$f"'$' || @@ -54,4 +54,4 @@ do echo "$f" fi fi -done \ No newline at end of file +done -- 2.20.1