From: Fernando Ortiz <fortiz2k@gmail.com>
To: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: crossgcc@sourceware.org
Subject: [PATCH] scripts/functions: change zcat to gzcat on Mac OS X
Date: Mon, 14 Oct 2013 09:31:00 -0000 [thread overview]
Message-ID: <d9b7eeea2b565287de66.1381743097@Fernandos-MacBook-Pro.local> (raw)
# HG changeset patch
# User nandub <dev+ctng@nandub.info>
# Date 1381743034 18000
# Mon Oct 14 04:30:34 2013 -0500
# Node ID d9b7eeea2b565287de66b71e13bfa40265230362
# Parent 9838aecd63405ba0d1660ac8e91208de880d71a2
scripts/functions: change zcat to gzcat on Mac OS X
it looks like gnu zcat is required to work on Mac OS X (osx)
osx zcat will throw an log.gz.Z error when restoring
a building step.
Signed-off-by: nandub <dev+ctng@nandub.info>
diff -r 9838aecd6340 -r d9b7eeea2b56 scripts/functions
--- a/scripts/functions Mon Oct 07 00:16:38 2013 +0200
+++ b/scripts/functions Mon Oct 14 04:30:34 2013 -0500
@@ -1336,7 +1336,7 @@ CT_DoLoadState(){
CT_DoLog STATE " Restoring log file"
exec >/dev/null
case "${CT_DEBUG_CT_SAVE_STEPS_GZIP}" in
- y) zcat "${state_dir}/log.gz" >"${tmp_log_file}";;
+ y) gzcat "${state_dir}/log.gz" >"${tmp_log_file}";;
*) cat "${state_dir}/log" >"${tmp_log_file}";;
esac
cat "${state_dir}/tail.log" >>"${tmp_log_file}"
--
For unsubscribe information see http://sourceware.org/lists.html#faq
next reply other threads:[~2013-10-14 9:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 9:31 Fernando Ortiz [this message]
2013-10-14 17:56 ` Mike Frysinger
2013-10-14 18:11 ` Diorcet Yann
2013-10-14 18:27 ` Ray Donnelly
[not found] ` <CAOhNY--1kKgQV2wEhJpwntLdK6=g7uyT781X=KGOGrnCGw6urA@mail.gmail.com>
2013-10-14 23:53 ` Fwd: " Anthony Foiani
2013-10-15 16:33 ` Mike Frysinger
2013-11-15 20:09 ` Yann E. MORIN
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=d9b7eeea2b565287de66.1381743097@Fernandos-MacBook-Pro.local \
--to=fortiz2k@gmail.com \
--cc=crossgcc@sourceware.org \
--cc=yann.morin.1998@free.fr \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).