diff options
Diffstat (limited to 'nixpkgs/pkgs/build-support/setup-hooks/move-docs.sh')
-rw-r--r-- | nixpkgs/pkgs/build-support/setup-hooks/move-docs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/build-support/setup-hooks/move-docs.sh b/nixpkgs/pkgs/build-support/setup-hooks/move-docs.sh index ef31dcdce274..e4460f98816d 100644 --- a/nixpkgs/pkgs/build-support/setup-hooks/move-docs.sh +++ b/nixpkgs/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 "$out" ]]; then return; fi for d in $forceShare; do if [ -d "$out/$d" ]; then |