From d69b96a0e73c9eaf3940652ca48f0537553dcab0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 28 Mar 2003 10:33:34 +0000 Subject: [PATCH] * Don't fork in `nix run'. svn path=/nix/trunk/test/; revision=24 --- build/pan-run.sh | 5 ++++- tmpl/pan-0.13.91-run.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build/pan-run.sh b/build/pan-run.sh index c933a38039eb..1d9db5377650 100755 --- a/build/pan-run.sh +++ b/build/pan-run.sh @@ -4,4 +4,7 @@ export LD_LIBRARY_PATH=$glib/lib:$atk/lib:$pango/lib:$gtk/lib:$gnet/lib:$pspell/ ldd $pan/bin/pan -$pan/bin/pan $* \ No newline at end of file +prog=$1 +shift + +$pan/bin/$prog $* diff --git a/tmpl/pan-0.13.91-run.nix b/tmpl/pan-0.13.91-run.nix index a28459916cd8..f9c13e64d71e 100644 --- a/tmpl/pan-0.13.91-run.nix +++ b/tmpl/pan-0.13.91-run.nix @@ -1,4 +1,4 @@ -id : pan-0.13.91-run +id : pan-0.13.91-run-2 pan <- ./pan-0.13.91.nix