Introduction
Introduction Statistics Contact Development Disclaimer Help
Determine snapshot date from commit date, simplify - susmb - mounting of SMB/CI…
git clone git://git.codemadness.org/susmb
Log
Files
Refs
README
LICENSE
---
commit 89acef1b59a04163e458ab1f303127de9821f1c2
parent c7bf8569cbff209901537a040617fe26bdcac453
Author: Michal Suchanek <[email protected]>
Date: Mon, 22 Mar 2010 23:14:31 +0100
Determine snapshot date from commit date, simplify
Diffstat:
M Makefile.in | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.in b/Makefile.in
@@ -88,9 +88,8 @@ ifeq ($(SNAPSHOT),)
VERSION = $(shell grep 'USMB_VERSION[^_]' version.h | sed 's/.*0x//')
ARCHIVE = $(VERSION)
else
- ARCHIVE = $(shell git log -n1 | head -n1 | cut -d' ' -f2 | cut -c1-8)
- commitdate = $(
- VERSION = $(shell date -ud "$(shell git log -n 1 | grep ^Date | sed -e 's,^D…
+ ARCHIVE = $(shell git show $(SNAPSHOT) '--pretty=format:%h' | head -n1 )
+ VERSION = $(shell date -ud "$(shell git show $(SNAPSHOT) '--pretty=format:%c…
endif
tar: STAGING=/tmp/usmb-$(VERSION)
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.