From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FAD6139694 for ; Thu, 13 Apr 2017 16:45:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2785E090A; Thu, 13 Apr 2017 16:45:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5835E090A for ; Thu, 13 Apr 2017 16:45:04 +0000 (UTC) Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 26AB5340A23; Thu, 13 Apr 2017 16:45:03 +0000 (UTC) Date: Thu, 13 Apr 2017 12:45:02 -0400 From: Mike Frysinger To: gentoo-catalyst@lists.gentoo.org Cc: christo.kotsi@gmail.com Subject: Re: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands Message-ID: <20170413164502.GG24205@vapier> Mail-Followup-To: gentoo-catalyst@lists.gentoo.org, christo.kotsi@gmail.com References: <20170412084349.2017-1-christo.kotsi@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IZo0yZFqN3M7MR32" Content-Disposition: inline In-Reply-To: <20170412084349.2017-1-christo.kotsi@gmail.com> X-Archives-Salt: 9865c1a6-843f-4e96-a0a8-a1096842523a X-Archives-Hash: a61eee1df4c8124430389f1117ec9424 --IZo0yZFqN3M7MR32 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 12 Apr 2017 11:43, Christos Kotsi wrote: > - cp -pPR ${clst_sharedir}/livecd/files/generic.motd.txt \ > - ${clst_sharedir}/livecd/files/universal.motd.txt \ > - ${clst_sharedir}/livecd/files/minimal.motd.txt \ > - ${clst_sharedir}/livecd/files/livecd.motd.txt \ > - ${clst_sharedir}/livecd/files/gamecd.motd.txt \ > - ${clst_chroot_path}/etc > + cp -pPR ${clst_sharedir}/livecd/files/{generic.motd.txt,universal.motd.txt,minimal.motd.txt} ${clst_chroot_path}/etc > + cp -pPR ${clst_sharedir}/livecd/files/{livecd.motd.txt,gamecd.motd.txt} ${clst_chroot_path}/etc if you're moving to braces, you can further combine substrings here: {generic,universal,minimal,.....}.motd.txt alternatively, why don't we just glob *.motd.txt ? -mike --IZo0yZFqN3M7MR32 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAljvqw0ACgkQQWM7n+g3 9YGQbRAAzDWkIjgwPipL0KTogvb/qv/bejjG0tOLI8srggK6hGakKAeYuQD5dNfP VW5y9ow/FXvIpp3fFa9AOxbXpFbAyft8/1MML2OPQP2QHviPfIvrZHKYHVYpcqk0 iVEFBHoNVik08XHueZuta13hysPpz1pRBEnKVcbtkXjQ9KxV3JIPNhMSaB9cLvYL TVnJguDMXtc0Ber1YjaHh2fITbJjoZgsbPj7AQeDe6V2hnW8U7IUmu7xzsQfqPck DWMuPHI5qrUBtdUeQc4nsVpSnDhQEb7SEDrzsXIzrTZ96e9jEeCFZKVfhxGt7Vdh BWrLkUm2m7I9H1dCpsPw8jWxrN7z/scDeVwO3vd9oFNkzUxbG+1sEPeLCpSY5bUG jvo/rcsn4HRCkDcqd9d5py13FcnYioPqTujJGRHSG2JxnkP5NbWF6B9Zz00Q4/VR WhGF92/A+diXXXSecvveYfF36CpumatX8w8b/h5PxWqgjk0AgdwyT6PBAvpl0hPF CaR+LtJfnrlUoidlA3LO27+yGcBD7xSZHvX94N+Xx+TqStviAH6ZcAOuRe5YL36g 2bBHokNW3Z3ArsqaVuXPya2NDC8EpoMcdZwd1x3soN94929DPYsZeAQXeR3HGKTW 3mbvYWBlA2MuhtIwWzOILl973t8nie0KWVnvtHnySMr2mT7aN9M= =dQRS -----END PGP SIGNATURE----- --IZo0yZFqN3M7MR32--