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 |