pkgs/build-support: call the right makeWrapper function from wrapProgram<Type>
This commit is contained in:
parent
cd72014a87
commit
a3cad4378e
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ wrapProgramBinary() {
|
|||
hidden="${hidden}_"
|
||||
done
|
||||
mv "$prog" "$hidden"
|
||||
makeWrapper "$hidden" "$prog" --inherit-argv0 "${@:2}"
|
||||
makeBinaryWrapper "$hidden" "$prog" --inherit-argv0 "${@:2}"
|
||||
}
|
||||
|
||||
# Generate source code for the wrapper in such a way that the wrapper inputs
|
||||
|
|
|
@ -217,5 +217,5 @@ wrapProgramShell() {
|
|||
hidden="${hidden}_"
|
||||
done
|
||||
mv "$prog" "$hidden"
|
||||
makeWrapper "$hidden" "$prog" --inherit-argv0 "${@:2}"
|
||||
makeShellWrapper "$hidden" "$prog" --inherit-argv0 "${@:2}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue