From 6b2b60229977c7625db0d2dfa35244d8231ab334 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 18 Jul 2007 20:32:51 +0000 Subject: [PATCH] Corrected handling of latex errors. svn path=/nixpkgs/trunk/; revision=9000 --- .../networking/instant-messengers/pidgin-latex/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/instant-messengers/pidgin-latex/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-latex/default.nix index 5abfb97e3f05..9358d4c528a1 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin-latex/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin-latex/default.nix @@ -8,7 +8,9 @@ stdenv.mkDerivation { md5 = "12509b38f7a92bb22d565cc73cbd83c7"; }; - preBuild = "sed -e '/^PREFIX/d' -i Makefile ; sed -e 's@/bin/bash@/var/run/current-system/sw&@; s@/dev/stdin@/proc/self/fd/0@' -i pidgin-latex-convert.sh;"; + preBuild = "sed -e '/^PREFIX/d' -i Makefile ; + sed -e 's@/bin/bash@/var/run/current-system/sw&@; s@/dev/stdin@/proc/self/fd/0@' -i pidgin-latex-convert.sh; + sed -e 's@^latex.*@& ; if let \$?; then rm /tmp/pidgin-latex-tmp.png; exit 1; fi; @' -i pidgin-latex-convert.sh ; "; makeFlags="PREFIX=\$(out)";