diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-01-28 17:48:13 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-01-28 17:48:13 -0800 |
commit | 8a58c2c41a8daf3e64ed2f4e58fe7e043f197244 (patch) | |
tree | 3b3b6c827e3ce914b9dc6cfcb191a460b1488a2e | |
parent | 8b48c5ccfc87d4c4688d4e0e78538b9e84bec4bb (diff) | |
download | syslinux-8a58c2c41a8daf3e64ed2f4e58fe7e043f197244.tar.gz |
Quiet warnings when building in a non-git directory.
-rw-r--r-- | Makefile.private | 4 |
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 |