public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Cc: christo.kotsi@gmail.com
Subject: Re: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands
Date: Thu, 13 Apr 2017 12:45:02 -0400	[thread overview]
Message-ID: <20170413164502.GG24205@vapier> (raw)
In-Reply-To: <20170412084349.2017-1-christo.kotsi@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-04-13 16:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12  8:43 [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands Christos Kotsi
2017-04-12  8:43 ` [gentoo-catalyst] [PATCH 2/6] updated gitignore with patches directory Christos Kotsi
2017-04-12 19:20   ` Mike Frysinger
2017-04-12  8:43 ` [gentoo-catalyst] [PATCH 3/6] Concentrated export&delete_from_root lines Christos Kotsi
2017-04-12 19:24   ` Mike Frysinger
2017-04-12  8:43 ` [gentoo-catalyst] [PATCH 4/6] Added some loops Christos Kotsi
2017-04-12  8:43 ` [gentoo-catalyst] [PATCH 5/6] ln,echo and cp commands concentration Christos Kotsi
2017-04-12 19:24   ` Mike Frysinger
2017-04-12  8:43 ` [gentoo-catalyst] [PATCH 6/6] changed mkdir line for kernels/misc Christos Kotsi
2017-04-13 16:45 ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170413164502.GG24205@vapier \
    --to=vapier@gentoo.org \
    --cc=christo.kotsi@gmail.com \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox