Skip to content
Browse files

bitcoin: don't try to use git

  • Loading branch information...
1 parent a6f0664 commit e73b0fb0fd1094c1d07664d0b4aaefaff527f289 @pstumpf pstumpf committed Mar 24, 2013
Showing with 21 additions and 0 deletions.
  1. +21 −0 net/bitcoin/patches/patch-share_genbuild_sh
View
21 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.
Something went wrong with that request. Please try again.