summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-01-28 17:48:13 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-01-28 17:48:13 -0800
commit8a58c2c41a8daf3e64ed2f4e58fe7e043f197244 (patch)
tree3b3b6c827e3ce914b9dc6cfcb191a460b1488a2e
parent8b48c5ccfc87d4c4688d4e0e78538b9e84bec4bb (diff)
downloadsyslinux-8a58c2c41a8daf3e64ed2f4e58fe7e043f197244.tar.gz
Quiet warnings when building in a non-git directory.
-rw-r--r--Makefile.private4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.private b/Makefile.private
index 9f822b2b..63a3bbdf 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