Fix help2man.postInstall syntax error under cygwin.
This commit is contained in:
parent
cb7fcd0a7c
commit
7fdb87a862
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
#! $SHELL -e
|
#! $SHELL -e
|
||||||
export PERL5LIB=\''${PERL5LIB:+:}$gettext_perl
|
export PERL5LIB=\''${PERL5LIB:+:}$gettext_perl
|
||||||
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
|
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
|
||||||
"export PATH=\''${PATH:+:}${gettext}/bin"}
|
''export PATH=\''${PATH:+:}${gettext}/bin''}
|
||||||
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
|
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/help2man
|
chmod +x $out/bin/help2man
|
||||||
|
Loading…
x
Reference in New Issue
Block a user