svn commit: r420446 - in head/shells/lshell: . files
John Marino
marino at FreeBSD.org
Fri Aug 19 04:23:34 UTC 2016
Author: marino
Date: Fri Aug 19 04:23:33 2016
New Revision: 420446
URL: https://svnweb.freebsd.org/changeset/ports/420446
Log:
shells/lshell: Fix immediate exit after first command
Without this fix, using lshell is impractical as the shell exits after
the first command is executed.
PR: 208003
Submitted by: Ignace Mouzannar
Added:
head/shells/lshell/files/patch-lshell_shellcmd.py (contents, props changed)
Modified:
head/shells/lshell/Makefile
Modified: head/shells/lshell/Makefile
==============================================================================
--- head/shells/lshell/Makefile Fri Aug 19 03:52:35 2016 (r420445)
+++ head/shells/lshell/Makefile Fri Aug 19 04:23:33 2016 (r420446)
@@ -3,7 +3,7 @@
PORTNAME= lshell
PORTVERSION= 0.9.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= SF
Added: head/shells/lshell/files/patch-lshell_shellcmd.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/shells/lshell/files/patch-lshell_shellcmd.py Fri Aug 19 04:23:33 2016 (r420446)
@@ -0,0 +1,11 @@
+--- lshell/shellcmd.py.orig 2013-09-07 23:07:08 UTC
++++ lshell/shellcmd.py
+@@ -134,7 +134,7 @@ class ShellCmd(cmd.Cmd, object):
+ self.g_arg = ' '.join(self.g_line.split()[1:])
+ self.cd()
+ else:
+- os.system('set -m; %s' % self.g_line)
++ os.system('%s' % self.g_line)
+ elif self.g_cmd not in ['', '?', 'help', None]:
+ self.log.warn('INFO: unknown syntax -> "%s"' %self.g_line)
+ self.stderr.write('*** unknown syntax: %s\n' %self.g_cmd)
More information about the svn-ports-all
mailing list