From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30737 invoked by alias); 14 Oct 2013 09:31:52 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 30720 invoked by uid 89); 14 Oct 2013 09:31:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f181.google.com Received: from mail-ob0-f181.google.com (HELO mail-ob0-f181.google.com) (209.85.214.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 14 Oct 2013 09:31:50 +0000 Received: by mail-ob0-f181.google.com with SMTP id va2so4570322obc.40 for ; Mon, 14 Oct 2013 02:31:48 -0700 (PDT) X-Received: by 10.182.71.82 with SMTP id s18mr27605518obu.9.1381743108431; Mon, 14 Oct 2013 02:31:48 -0700 (PDT) Received: from Fernandos-MacBook-Pro.local (ip70-180-90-249.no.no.cox.net. [70.180.90.249]) by mx.google.com with ESMTPSA id m7sm2373368obo.7.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 14 Oct 2013 02:31:47 -0700 (PDT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH] scripts/functions: change zcat to gzcat on Mac OS X X-Mercurial-Node: d9b7eeea2b565287de66b71e13bfa40265230362 Message-Id: User-Agent: Mercurial-patchbomb/2.7.2 Date: Mon, 14 Oct 2013 09:31:00 -0000 From: Fernando Ortiz To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-SW-Source: 2013-10/txt/msg00010.txt.bz2 # HG changeset patch # User nandub # 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 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