From owner-svn-ports-head@freebsd.org Fri Aug 19 04:23:34 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F9D0BBD67A; Fri, 19 Aug 2016 04:23:34 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7224217E0; Fri, 19 Aug 2016 04:23:34 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7J4NXRf025633; Fri, 19 Aug 2016 04:23:33 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7J4NXkF025631; Fri, 19 Aug 2016 04:23:33 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608190423.u7J4NXkF025631@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 19 Aug 2016 04:23:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420446 - in head/shells/lshell: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 04:23:34 -0000 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)