From: Christos Kotsi <christo.kotsi@gmail.com>
To: gentoo-catalyst@lists.gentoo.org
Cc: christo.kotsi@gmail.com
Subject: [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands
Date: Wed, 12 Apr 2017 11:43:44 +0300 [thread overview]
Message-ID: <20170412084349.2017-1-christo.kotsi@gmail.com> (raw)
---
targets/livecd-stage2/livecd-stage2-controller.sh | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/targets/livecd-stage2/livecd-stage2-controller.sh b/targets/livecd-stage2/livecd-stage2-controller.sh
index 10ee98e..16a9071 100755
--- a/targets/livecd-stage2/livecd-stage2-controller.sh
+++ b/targets/livecd-stage2/livecd-stage2-controller.sh
@@ -42,12 +42,9 @@ case $1 in
echo "${clst_livecd_type}. You should switch to using"
echo "generic-livecd instead."
fi
- 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 [ -n "${clst_livecd_motd}" ]
@@ -147,8 +144,7 @@ case $1 in
exit 1
fi
fi
- cp -f ${clst_snapshot_path} $1/snapshots
- cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
+ cp -f ${clst_snapshot_path}{,.DIGESTS} $1/snapshots
;;
gentoo-release-livedvd)
targets="distfiles snapshots stages"
@@ -171,8 +167,7 @@ case $1 in
continue
;;
snapshots)
- cp -f ${clst_snapshot_path} $1/snapshots
- cp -f ${clst_snapshot_path}.DIGESTS $1/snapshots
+ cp -f ${clst_snapshot_path}{,.DIGESTS} $1/snapshots
;;
stages)
### TODO: make this copy stages
--
2.10.2
next reply other threads:[~2017-04-12 8:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 8:43 Christos Kotsi [this message]
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 ` [gentoo-catalyst] [PATCH 1/6] Concentrated some cp commands Mike Frysinger
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=20170412084349.2017-1-christo.kotsi@gmail.com \
--to=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