mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
move-docs.sh: shellcheck 2166
https://github.com/koalaman/shellcheck/wiki/SC2166
This commit is contained in:
parent
b1c5a9f008
commit
4e3d905b0d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue