makeWrapper: fix regression introduced in #24944
In some cases wrappers could not be made. See e.g. https://github.com/NixOS/nixpkgs/pull/24944#issuecomment-321175692
This commit is contained in:
parent
7a6d4f4710
commit
0ff782e141
@ -33,7 +33,7 @@ makeWrapper() {
|
|||||||
local params varName value command separator n fileNames
|
local params varName value command separator n fileNames
|
||||||
local argv0 flagsBefore flags
|
local argv0 flagsBefore flags
|
||||||
|
|
||||||
assertExecutable "${file}"
|
assertExecutable "${original}"
|
||||||
|
|
||||||
mkdir -p "$(dirname "$wrapper")"
|
mkdir -p "$(dirname "$wrapper")"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user