Unverified Commit c46d43c6 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #334657 from svenssonaxel/pdf-sign

pdf-sign: Fix program name in help text
parents 199d21a8 12b70760
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -38,8 +38,11 @@ stdenv.mkDerivation {
    runHook preInstall

    for exe in "pdf-sign" "pdf-create-empty" "pdf-from-text"; do
      install -Dm755 $exe -t $out/bin
      wrapProgram $out/bin/$exe --prefix PATH : ${binPath}
      # Install wrapped programs into $out/lib so that they are not renamed.
      # Renaming them, like wrapProgram does, would produce the wrong output
      # from `--help`.
      install -Dm755 $exe -t $out/lib
      makeWrapper $out/lib/$exe $out/bin/$exe --prefix PATH : ${binPath}
    done

    runHook postInstall