From: H. Peter Anvin Date: Mon, 29 Jan 2007 01:48:13 +0000 (-0800) Subject: Quiet warnings when building in a non-git directory. X-Git-Tag: syslinux-3.35~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a58c2c41a8daf3e64ed2f4e58fe7e043f197244;p=platform%2Fupstream%2Fsyslinux.git Quiet warnings when building in a non-git directory. --- 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