Fix help2man.postInstall syntax error under cygwin.

This commit is contained in:
Jean-Baptiste Giraudeau 2018-11-06 16:49:51 +01:00 committed by Jean-Baptiste Giraudeau
parent cb7fcd0a7c
commit 7fdb87a862
No known key found for this signature in database
GPG Key ID: E96EF57FD501B961

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