mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
systemd-lib: fix building -.slice (root slice)
The error was: dirname: invalid option -- '.' Try 'dirname --help' for more information.
This commit is contained in:
parent
0f3519bb0f
commit
a10f3197fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue