[shotwell] build: Remove some shell magic
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] build: Remove some shell magic
- Date: Sat, 16 Apr 2016 08:17:18 +0000 (UTC)
commit 379e37a8c35a670d8d68f65d0500f19465ffb07c
Author: Jens Georg <mail jensge org>
Date: Fri Apr 15 22:31:05 2016 +0200
build: Remove some shell magic
git rev-parse HEAD does the same
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index 1ce5668..914618a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ PROGRAM_THUMBNAILER = shotwell-video-thumbnailer
PROGRAM_MIGRATOR = shotwell-settings-migrator
VERSION = 0.22.0
-GITVER := $(shell git log -n 1 2>/dev/null | head -n 1 | awk '{print $$2}')
+GITVER := $(shell git rev-parse HEAD)
GETTEXT_PACKAGE = $(PROGRAM)
BUILD_ROOT = 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]