mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01: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
|
@ -24,7 +24,7 @@ in rec {
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
name=${shellEscape name}
|
name=${shellEscape name}
|
||||||
mkdir -p "$out/$(dirname "$name")"
|
mkdir -p "$out/$(dirname -- "$name")"
|
||||||
echo -n "$text" > "$out/$name"
|
echo -n "$text" > "$out/$name"
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue