Merge pull request #222110 from SuperSandro2000/root-slice

systemd-lib: fix building -.slice (root slice)
This commit is contained in:
Sandro 2023-03-23 14:10:24 +01:00 committed by GitHub
commit df9856c9b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ in rec {
}
''
name=${shellEscape name}
mkdir -p "$out/$(dirname "$name")"
mkdir -p "$out/$(dirname -- "$name")"
echo -n "$text" > "$out/$name"
''
else