Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |