trivial fix for 8.2.x w/git 1.6
Subsystems (2)
Attached patch; git 1.6 no longer installs the "git-*" commands.
Regards,
Lars
Signature · 3 lines
Teamlead Kernel, SuSE Labs, Research and Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
commit 5b6358de919b34287026963ad06257b9da3aca04
Author: Lars Marowsky-Bree <[email protected]> Date: Mon Oct 27 13:35:25 2008 +0100
Work with git 1.6.0 syntax.
Makefile +3 -3
@@ -42,7 +42,7 @@ ifdef FORCE # in the tgz name: # make distclean doc tgz FORCE=1 # -REL_VERSION := $(REL_VERSION)-$(shell git-rev-parse HEAD) +REL_VERSION := $(REL_VERSION)-$(shell git rev-parse HEAD) endif DIST_VERSION := $(REL_VERSION)
@@ -124,7 +124,7 @@ drbd/drbd_buildtag.c: # update of .filelist is forced: .PHONY: .filelist .filelist: - @git-ls-files | sed '$(if $(PRESERVE_DEBIAN),,/^debian/d);s#^#drbd-$(DIST_VERSION)/#' > .filelist + @git ls-files | sed '$(if $(PRESERVE_DEBIAN),,/^debian/d);s#^#drbd-$(DIST_VERSION)/#' > .filelist @[ -s .filelist ] # assert there is something in .filelist now @find documentation -name "[^.]*.[58]" -o -name "*.html" | \ sed "s/^/drbd-$(DIST_VERSION)\//" >> .filelist ;\
@@ -153,7 +153,7 @@ tgz: check_changelogs_up2date doc endif check_all_committed: - @$(if $(FORCE),-,)modified=`git-ls-files -m -t`; \ + @$(if $(FORCE),-,)modified=`git ls-files -m -t`; \ if test -n "$$modified" ; then \ echo "$$modified"; \ false; \
drbd/Makefile +2 -2
@@ -111,8 +111,8 @@ else fi; \ grep return $@ ; \ else \ - GITHEAD=$$(git-rev-parse HEAD); \ - GITDIFF=$$(cd .. && git-diff --name-only HEAD | tr -s '\t\n' ' ' | \ + GITHEAD=$$(git rev-parse HEAD); \ + GITDIFF=$$(cd .. && git diff --name-only HEAD | tr -s '\t\n' ' ' | \ sed -e 's/^/ /;s/ *$$//'); \ echo -e "\treturn \"GIT-hash: $$GITHEAD$$GITDIFF\""; \ fi ; \
Lars Ellenberg
maintainerQuoted 1 line · Lars Marowsky-Bree
Attached patch; git 1.6 no longer installs the "git-*" commands.
sweet.
Signature · 5 lines
: Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.