Merge pull request #49836 from jbgi/fixes/help2man-postinstall

Fix help2man.postInstall syntax error under cygwin.
This commit is contained in:
Jörg Thalheim 2018-11-15 16:24:21 +00:00 committed by GitHub
commit c48411a404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
#! $SHELL -e
export PERL5LIB=\''${PERL5LIB:+:}$gettext_perl
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
"export PATH=\''${PATH:+:}${gettext}/bin"}
''export PATH=\''${PATH:+:}${gettext}/bin''}
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
EOF
chmod +x $out/bin/help2man