forked from mirrors/nixpkgs
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}
|
||||
mkdir -p "$out/$(dirname "$name")"
|
||||
mkdir -p "$out/$(dirname -- "$name")"
|
||||
echo -n "$text" > "$out/$name"
|
||||
''
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue