Annotation of ports/net/ccnetc/litecoin/patches/patch-share_genbuild_sh, Revision 1.1
1.1 ! kirby 1: $OpenBSD$
! 2: --- share/genbuild.sh.orig Sun Mar 24 14:31:42 2013
! 3: +++ share/genbuild.sh Sun Mar 24 14:31:50 2013
! 4: @@ -11,17 +11,6 @@ else
! 5: exit 1
! 6: fi
! 7:
! 8: -if [ -e "$(which git)" ]; then
! 9: - # clean 'dirty' status of touched files that haven't been modified
! 10: - git diff >/dev/null 2>/dev/null
! 11: -
! 12: - # get a string like "v0.6.0-66-g59887e8-dirty"
! 13: - DESC="$(git describe --dirty 2>/dev/null)"
! 14: -
! 15: - # get a string like "2012-04-10 16:27:19 +0200"
! 16: - TIME="$(git log -n 1 --format="%ci")"
! 17: -fi
! 18: -
! 19: if [ -n "$DESC" ]; then
! 20: NEWINFO="#define BUILD_DESC \"$DESC\""
! 21: else
CVSweb