From 4e3d905b0d9c7f55fcb150c4da941d61bc67ac4b Mon Sep 17 00:00:00 2001 From: happysalada Date: Thu, 24 Jun 2021 13:53:49 +0900 Subject: [PATCH] move-docs.sh: shellcheck 2166 https://github.com/koalaman/shellcheck/wiki/SC2166 --- pkgs/build-support/setup-hooks/move-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/setup-hooks/move-docs.sh b/pkgs/build-support/setup-hooks/move-docs.sh index ef31dcdce274..379882ec767c 100644 --- a/pkgs/build-support/setup-hooks/move-docs.sh +++ b/pkgs/build-support/setup-hooks/move-docs.sh @@ -6,7 +6,7 @@ preFixupHooks+=(_moveToShare) _moveToShare() { forceShare=${forceShare:=man doc info} - if [ -z "$forceShare" -o -z "$out" ]; then return; fi + if [ -z "$forceShare" ] || [ -z "$out" ]; then return; fi for d in $forceShare; do if [ -d "$out/$d" ]; then