Received: by mail.netbsd.org (Postfix, from userid 605) id C2A6584E7B; Mon, 13 Feb 2023 13:47:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F18EF84D66 for ; Mon, 13 Feb 2023 13:47:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id pOF3-N3W1i4p for ; Mon, 13 Feb 2023 13:47:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 13F0284CEA for ; Mon, 13 Feb 2023 13:47:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0D710FA90; Mon, 13 Feb 2023 13:47:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1676296054239330" MIME-Version: 1.0 Date: Mon, 13 Feb 2023 13:47:34 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/wm/cde To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20230213134734.0D710FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1676296054239330 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Mon Feb 13 13:47:33 UTC 2023 Modified Files: pkgsrc/wm/cde: distinfo Added Files: pkgsrc/wm/cde/patches: patch-lib_tt_ttinstall.sh Log Message: cde: fix a shell portability issue To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/wm/cde/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/wm/cde/patches/patch-lib_tt_ttinstall.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1676296054239330 Content-Disposition: inline Content-Length: 2364 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/wm/cde/distinfo diff -u pkgsrc/wm/cde/distinfo:1.1 pkgsrc/wm/cde/distinfo:1.2 --- pkgsrc/wm/cde/distinfo:1.1 Sun Feb 12 16:34:15 2023 +++ pkgsrc/wm/cde/distinfo Mon Feb 13 13:47:33 2023 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1 2023/02/12 16:34:15 vins Exp $ +$NetBSD: distinfo,v 1.2 2023/02/13 13:47:33 tnn Exp $ BLAKE2s (cde-2.5.1.tar.gz) = 33d94122ff02dbabc3ea246f2af18b12a3d05b48ade9137c9c6cfd685d1eb3a3 SHA512 (cde-2.5.1.tar.gz) = cacb9a1df21eb9959886ec2f6816fe99ec585e7264f548a85b03990f0e7fbc2dc6fa440cfe5e9ad29281360c30789c1b9ef3f96e1a711bfd2157064c640e803e @@ -6,6 +6,7 @@ Size (cde-2.5.1.tar.gz) = 57543245 bytes SHA1 (patch-configure.ac) = 7730332dd970729872687757701454dd285a8100 SHA1 (patch-lib_DtMmdb_btree__berkeley_memmove.c) = 50249e82ee21c012c46bd633fd8f3b640bc6dbc9 SHA1 (patch-lib_DtMmdb_btree__berkeley_snprintf.c) = 93270c3217129086174c22b964e62c14c57f7d47 +SHA1 (patch-lib_tt_ttinstall.sh) = 28fa72978fd31af3bb6ec95c7bebc28534a66fec SHA1 (patch-programs_dtcm_libDtCmP_util.h) = 15f6d2595d30bbb1b432f4e557182e90dcd9803d SHA1 (patch-programs_dtlogin_Makefile.am) = 775e5417f7f0c38a70f6e3f85629940351ffad6a SHA1 (patch-programs_dtsearchpath_dtappg_Makefile.am) = b0a13e4b1b935c055736daa48302dafc1f9333c4 Added files: Index: pkgsrc/wm/cde/patches/patch-lib_tt_ttinstall.sh diff -u /dev/null pkgsrc/wm/cde/patches/patch-lib_tt_ttinstall.sh:1.1 --- /dev/null Mon Feb 13 13:47:33 2023 +++ pkgsrc/wm/cde/patches/patch-lib_tt_ttinstall.sh Mon Feb 13 13:47:33 2023 @@ -0,0 +1,30 @@ +$NetBSD: patch-lib_tt_ttinstall.sh,v 1.1 2023/02/13 13:47:33 tnn Exp $ + +fix double brackets + +--- lib/tt/ttinstall.sh.orig 2022-10-01 17:18:27.000000000 +0000 ++++ lib/tt/ttinstall.sh +@@ -33,12 +33,12 @@ fi + function mkdir_p + { + # if directory names have trailing /, we get called with a null string +- if [[ "$1" = "" ]] ++ if [ "$1" = "" ] + then return + fi + # bail out if directory already exists -- this means recursion stops + # as soon as we back up into an existing directory +- if [[ -d $1 ]] ++ if [ -d $1 ] + then return + fi + # only recurse if path has a slash in it. +@@ -56,7 +56,7 @@ version=$1; shift + destdir=$1; shift + datestamp=`date '+%d %h %y'` + +-if [[ ! -d $destdir ]] ++if [ ! -d $destdir ] + then print -n -u2 Creating directory $destdir ... + rm -f $destdir + mkdir_p $destdir --_----------=_1676296054239330--