Skip to content

Commit

Permalink
bitcoin: don't try to use git
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Stumpf authored and Pascal Stumpf committed Mar 24, 2013
1 parent a6f0664 commit e73b0fb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions net/bitcoin/patches/patch-share_genbuild_sh
@@ -0,0 +1,21 @@
$OpenBSD$
--- share/genbuild.sh.orig Sun Mar 24 14:31:42 2013
+++ share/genbuild.sh Sun Mar 24 14:31:50 2013
@@ -11,17 +11,6 @@ else
exit 1
fi

-if [ -e "$(which git)" ]; then
- # clean 'dirty' status of touched files that haven't been modified
- git diff >/dev/null 2>/dev/null
-
- # get a string like "v0.6.0-66-g59887e8-dirty"
- DESC="$(git describe --dirty 2>/dev/null)"
-
- # get a string like "2012-04-10 16:27:19 +0200"
- TIME="$(git log -n 1 --format="%ci")"
-fi
-
if [ -n "$DESC" ]; then
NEWINFO="#define BUILD_DESC \"$DESC\""
else

0 comments on commit e73b0fb

Please sign in to comment.