mirror of
https://github.com/oxalica/rust-overlay.git
synced 2025-10-05 15:52:54 +02:00
mk-component-set: fix nightly build failure on non-empty /etc
.
See: <https://github.com/rust-lang/rust/pull/144498>
This commit is contained in:
@@ -122,7 +122,8 @@ let
|
||||
}
|
||||
if [[ -e "$out/etc" ]]; then
|
||||
handleEtc "$out/etc/bash_completion.d" "$out/share/bash-completion/completions"
|
||||
rmdir $out/etc || { echo "Installer tries to install to /etc: $(ls $out/etc)"; exit 1; }
|
||||
# Remove if empty. Skip if produced `/etc/target-spec-json-schema.json`.
|
||||
rmdir --ignore-fail-on-non-empty $out/etc
|
||||
fi
|
||||
'';
|
||||
|
||||
|
Reference in New Issue
Block a user