mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
89e0b04783
the databases/redis port to the latest stable version, 5.0.6. PR: 241526 Reviewed by: portmgr (adamw) Approved by: portmgr (adamw) Differential Revision: https://reviews.freebsd.org/D22336
12 lines
452 B
Bash
12 lines
452 B
Bash
--- src/mkreleasehdr.sh.orig 2013-08-13 15:39:40.000000000 +0400
|
|
+++ src/mkreleasehdr.sh 2013-08-13 15:39:55.000000000 +0400
|
|
@@ -1,6 +1,6 @@
|
|
#!/bin/sh
|
|
-GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
|
|
-GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l`
|
|
+GIT_SHA1="00000000"
|
|
+GIT_DIRTY="0"
|
|
BUILD_ID=`uname -n`"-"`date +%s`
|
|
test -f release.h || touch release.h
|
|
(cat release.h | grep SHA1 | grep $GIT_SHA1) && \
|