From owner-svn-ports-head@freebsd.org Fri Nov 23 13:59:09 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A2C511476AA; Fri, 23 Nov 2018 13:59:09 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3E658A896; Fri, 23 Nov 2018 13:59:08 +0000 (UTC) (envelope-from tobik@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9AA61F70B; Fri, 23 Nov 2018 13:59:08 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wANDx83S045326; Fri, 23 Nov 2018 13:59:08 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wANDx8dS045325; Fri, 23 Nov 2018 13:59:08 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201811231359.wANDx8dS045325@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Fri, 23 Nov 2018 13:59:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485659 - head/devel/tig/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/tig/files X-SVN-Commit-Revision: 485659 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E3E658A896 X-Spamd-Result: default: False [1.39 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.40)[0.400,0]; NEURAL_SPAM_SHORT(0.27)[0.271,0]; NEURAL_SPAM_MEDIUM(0.72)[0.721,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Nov 2018 13:59:09 -0000 Author: tobik Date: Fri Nov 23 13:59:08 2018 New Revision: 485659 URL: https://svnweb.freebsd.org/changeset/ports/485659 Log: devel/tig: Fix a GNUism in tools/make-builtin-config.sh PR: 233423 Reported by: kevans Added: head/devel/tig/files/ head/devel/tig/files/patch-tools_make-builtin-config.sh (contents, props changed) Added: head/devel/tig/files/patch-tools_make-builtin-config.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/tig/files/patch-tools_make-builtin-config.sh Fri Nov 23 13:59:08 2018 (r485659) @@ -0,0 +1,15 @@ +sed: 1: "s/\s*#.*//": RE error: trailing backslash (\) + +cf. PR 229925 + +--- tools/make-builtin-config.sh.orig 2018-11-23 06:50:40 UTC ++++ tools/make-builtin-config.sh +@@ -21,7 +21,7 @@ TIGRC="${1:-tigrc}" + + read_tigrc() { + if test -z "$NO_BUILTIN_TIGRC"; then +- sed 's/\s*#.*//' "$TIGRC" | sed 's,\\,\\\\\\\\,g' | sed 's,",\\\\",g' | sed 's/ \+/ /g' ++ sed 's/[[:space:]]*#.*//' "$TIGRC" | sed 's,\\,\\\\\\\\,g' | sed 's,",\\\\",g' | sed 's/ \+/ /g' + else + echo '#' + fi