Skip to content

Commit e4371a4

Browse files
cryptomilkPavel Filipensky
authored andcommitted
release-script: Fix shellcheck errors
./release-scripts/build-docs:4:7: error: Double quote array expansions to avoid re-splitting elements. [SC2068] Same error for the other scripts. Signed-off-by: Andreas Schneider <[email protected]> Reviewed-by: Pavel Filipenský <[email protected]> Autobuild-User(master): Pavel Filipensky <[email protected]> Autobuild-Date(master): Wed Aug 17 11:03:54 UTC 2022 on sn-devel-184
1 parent 233a0cd commit e4371a4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

release-scripts/build-docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
_exit()
44
{
5-
echo $@
5+
echo "$@"
66
popd
77
exit 1
88
}

release-scripts/build-htmlman-git

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
_exit()
2020
{
21-
echo $@
21+
echo "$@"
2222
popd
2323
exit 1
2424
}
@@ -50,4 +50,4 @@ rsync -Ca ${DOCS_XML_DIR}/output/htmldocs/manpages/ ${DOCS_DIR}/htmldocs/manpage
5050
echo "Success"
5151
exit
5252

53-
# END
53+
# END

release-scripts/build-htmlman-nogit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
_exit()
2020
{
21-
echo $@
21+
echo "$@"
2222
popd
2323
exit 1
2424
}

release-scripts/build-manpages-git

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
_exit()
2020
{
21-
echo $@
21+
echo "$@"
2222
popd
2323
exit 1
2424
}

release-scripts/build-manpages-nogit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
_exit()
2020
{
21-
echo $@
21+
echo "$@"
2222
popd
2323
exit 1
2424
}

0 commit comments

Comments
 (0)