buildHomeAssistantComponent: fix output dirname with manifest in repo root (#369696)

This commit is contained in:
Martin Weinelt
2024-12-31 16:27:24 +01:00
committed by GitHub
@@ -32,7 +32,7 @@ home-assistant.python.pkgs.buildPythonPackage (
mkdir $out
if [[ -f ./manifest.json ]]; then
mkdir $out/custom_components
cp -R $(realpath .) $out/custom_components/
cp -R "$(realpath .)" "$out/custom_components/${domain}"
else
cp -r ./custom_components/ $out/
fi