buildHomeAssistantComponent: fix output dirname with manifest in repo root (#369696)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user