Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkgs/build-support/setup-hooks/install-shell-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ installShellCompletion() {
else
install -Dm644 -T "$arg" "$outPath"
fi || return

if [ ! -s "$outPath" ]; then
echo "installShellCompletion: error: installed shell completion file \`$outPath' does not exist or has zero size" >&2
return 1
fi
# Clear the per-path flags
name=
done
Expand Down