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
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ makeWrapper() {
|
|||
local params varName value command separator n fileNames
|
||||
local argv0 flagsBefore flags
|
||||
|
||||
assertExecutable "${file}"
|
||||
assertExecutable "${original}"
|
||||
|
||||
mkdir -p "$(dirname "$wrapper")"
|
||||
|
||||
|
|
Loading…
Reference in a new issue