diff options
Diffstat (limited to 'Makefile.private')
-rw-r--r-- | Makefile.private | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.private b/Makefile.private index ddbf75b0..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 @@ -43,7 +43,7 @@ official: release: test -d release rm -f '$(GIT_DIR)'/refs/tags/syslinux-$(VERSION) - cg-tag syslinux-$(VERSION) + cg-tag -f syslinux-$(VERSION) -rm -rf release/syslinux-$(VERSION) -rm -f release/syslinux-$(VERSION).* cd release && env GIT_DIR='$(ABS_GIT_DIR)' cg-export -r syslinux-$(VERSION) syslinux-$(VERSION) |