dash: update to 0.5.11.
This commit is contained in:
parent
4e73937b61
commit
34ba2dce19
@ -1,38 +0,0 @@
|
||||
From a27b4523bd003b37e9a5a2b5a1b3cedee4f701c7 Mon Sep 17 00:00:00 2001
|
||||
From: Gerrit Pape <pape@smarden.org>
|
||||
Date: Wed, 11 Feb 2009 01:38:49 +0000
|
||||
Subject: [SHELL] print \n upon EOF (CTRL-D) when run interactively
|
||||
|
||||
Suggested by jidanni through
|
||||
http://bugs.debian.org/476422
|
||||
|
||||
Signed-off-by: Gerrit Pape <pape@smarden.org>
|
||||
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
|
||||
---
|
||||
src/main.c | 9 ++++++++-
|
||||
1 files changed, 8 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index af987c6c..65e236be 100644
|
||||
--- src/main.c
|
||||
+++ src/main.c
|
||||
@@ -227,8 +227,15 @@ cmdloop(int top)
|
||||
if (!top || numeof >= 50)
|
||||
break;
|
||||
if (!stoppedjobs()) {
|
||||
- if (!Iflag)
|
||||
+ if (!Iflag) {
|
||||
+ if (iflag) {
|
||||
+ out2c('\n');
|
||||
+#ifdef FLUSHERR
|
||||
+ flushout(out2);
|
||||
+#endif
|
||||
+ }
|
||||
break;
|
||||
+ }
|
||||
out2str("\nUse \"exit\" to leave shell.\n");
|
||||
}
|
||||
numeof++;
|
||||
--
|
||||
1.7.6
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'dash'
|
||||
pkgname=dash
|
||||
version=0.5.10.2
|
||||
revision=2
|
||||
version=0.5.11
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="bison"
|
||||
short_desc="POSIX-compliant Unix shell, much smaller than GNU bash"
|
||||
@ -9,7 +9,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://gondor.apana.org.au/~herbert/dash/"
|
||||
distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz"
|
||||
checksum=3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071
|
||||
checksum=4dd9a6ed5fe7546095157918fe5d784bb0b7887ae13de50e1e2d11e1b5a391cb
|
||||
register_shell="/usr/bin/sh /usr/bin/dash /bin/sh /bin/dash"
|
||||
|
||||
alternatives="
|
||||
|
Loading…
x
Reference in New Issue
Block a user