From 8a58c2c41a8daf3e64ed2f4e58fe7e043f197244 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 28 Jan 2007 17:48:13 -0800 Subject: [PATCH] Quiet warnings when building in a non-git directory. --- Makefile.private | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.private b/Makefile.private index 9f822b2..63a3bbd 100644 --- a/Makefile.private +++ b/Makefile.private @@ -1,6 +1,6 @@ ## -*- makefile -*- ------------------------------------------------------ ## -## Copyright 2000-2006 H. Peter Anvin - All Rights Reserved +## Copyright 2000-2007 H. Peter Anvin - All Rights Reserved ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ PRIVATE = Makefile.private .depend */.depend GIT_DIR ?= .git -ABS_GIT_DIR := $(shell cd '$(GIT_DIR)' && pwd) +ABS_GIT_DIR := $(shell cd '$(GIT_DIR)' 2>/dev/null && pwd) -include release/Makefile.secret -- 2.7.4