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
signature.asc
Description: Digital signature
