mirror of
https://git.freebsd.org/ports.git
synced 2025-05-27 16:36:28 -04:00
release candidate 2.2.rc4. Add CONFLICTS with redis-2.0. Add NO_LATEST_LINK, should be removed after 2.2 release.
11 lines
481 B
Bash
11 lines
481 B
Bash
--- src/mkreleasehdr.sh.orig 2010-12-24 09:37:11.000000000 +0300
|
|
+++ src/mkreleasehdr.sh 2010-12-24 09:37:16.000000000 +0300
|
|
@@ -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 2> /dev/null | wc -l`
|
|
+GIT_SHA1="00000000"
|
|
+GIT_DIRTY="0"
|
|
test -f release.h || touch release.h
|
|
(cat release.h | grep SHA1 | grep $GIT_SHA1) && \
|
|
(cat release.h | grep DIRTY | grep $GIT_DIRTY) && exit 0 # Already uptodate
|