From patchwork Mon Jul 16 06:32:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 944149 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41TYW1169dz9rxs for ; Mon, 16 Jul 2018 16:32:45 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="x0qpvsva"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41TYW060R7zF37J for ; Mon, 16 Jul 2018 16:32:44 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="x0qpvsva"; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41TYVd4LFDzF376 for ; Mon, 16 Jul 2018 16:32:25 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="x0qpvsva"; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41TYVd2Cdsz9s2g; Mon, 16 Jul 2018 16:32:25 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ozlabs.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1531722745; bh=RRFhk6NHA5XcJALeIipN3NjQiTGW1OCS5fSdr9Y5hXo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x0qpvsvaiCykgpY6c8WWMYpXm6hELgrA/4ioQSqbopR3vwNLFX+I76HKeNwfKaOlz 5gRE1vTvVVqDBchO6PIJ8AsXZPIUCkEdo6VGj8vU6RGB3XneO9ZM2fJLxnwDtNUnoa mxzGAfh03AcMm0KcMBX19UPn7b46pL80iKDlbqtxvqU1CnEnY+yiyg31siUQE7BfUd u8q6FQqu4mOY+4McsbIgxfbjW6Uy4jRy6XzrMT8HEpPgI9qbK8UWJWYW8maNn4LfCe o4dSeZ/+9Qg/oxgDcFpDI8d2caOywOGTrBD1vTm0rTv04K0ptHSHAh0/g83uLpJsp6 2Zb01A0RlJ1Cg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Mon, 16 Jul 2018 16:32:13 +1000 Message-Id: <20180716063216.20107-3-amitay@ozlabs.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180716063216.20107-1-amitay@ozlabs.org> References: <20180716063216.20107-1-amitay@ozlabs.org> Subject: [Pdbg] [PATCH 2/5] Makefile: Avoid warnings if not in a git tree X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index a795926..7206fc2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = foreign AM_MAKEFLAGS = --no-print-directory -GIT_SHA1 ?= `git --work-tree=$(top_srcdir) --git-dir=$(top_srcdir)/.git describe --always --long --dirty || echo unknown` +GIT_SHA1 ?= `git --work-tree=$(top_srcdir) --git-dir=$(top_srcdir)/.git describe --always --long --dirty 2>/dev/null || echo unknown` bin_PROGRAMS = pdbg optcmd_test