diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-25 15:58:00 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-25 15:58:00 +0000 |
commit | 8d3c346559a2528e4606d8a5b61c8a4d5457697d (patch) | |
tree | 44534736ac6a2f11e986f522af2be17c360bd7ae /scripts/nix-install-package.in | |
parent | 6bafeafb884d72ac920ec667eeea143309ed64b5 (diff) |
* Pause if errors occur.
Diffstat (limited to 'scripts/nix-install-package.in')
-rw-r--r-- | scripts/nix-install-package.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in index 362ed035f..4dc241ab7 100644 --- a/scripts/nix-install-package.in +++ b/scripts/nix-install-package.in @@ -11,7 +11,7 @@ die unless defined $pkgFile; # from a web browser, the user gets to see us. if (!defined $ENV{"NIX_HAVE_TERMINAL"}) { $ENV{"NIX_HAVE_TERMINAL"} = "1"; - exec("xterm", "-e", "@bindir@/nix-install-package", "$pkgFile"); + exec("xterm", "-e", "@shell@", "-c", "@bindir@/nix-install-package '$pkgFile' || read"); die "cannot execute `xterm'"; } |