Gentoo Archives: gentoo-catalyst

From: Mike Frysinger <vapier@g.o>
To: gentoo-catalyst@l.g.o
Cc: christo.kotsi@×××××.com
Subject: Re: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands
Date: Thu, 13 Apr 2017 16:45:08
Message-Id: 20170413164502.GG24205@vapier
In Reply to: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands by Christos Kotsi
1 On 12 Apr 2017 11:43, Christos Kotsi wrote:
2 > - cp -pPR ${clst_sharedir}/livecd/files/generic.motd.txt \
3 > - ${clst_sharedir}/livecd/files/universal.motd.txt \
4 > - ${clst_sharedir}/livecd/files/minimal.motd.txt \
5 > - ${clst_sharedir}/livecd/files/livecd.motd.txt \
6 > - ${clst_sharedir}/livecd/files/gamecd.motd.txt \
7 > - ${clst_chroot_path}/etc
8 > + cp -pPR ${clst_sharedir}/livecd/files/{generic.motd.txt,universal.motd.txt,minimal.motd.txt} ${clst_chroot_path}/etc
9 > + cp -pPR ${clst_sharedir}/livecd/files/{livecd.motd.txt,gamecd.motd.txt} ${clst_chroot_path}/etc
10
11 if you're moving to braces, you can further combine substrings here:
12 {generic,universal,minimal,.....}.motd.txt
13
14 alternatively, why don't we just glob *.motd.txt ?
15 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature