Skip to content

Commit

Permalink
Run git status before git describe to clear false dirties
Browse files Browse the repository at this point in the history
  • Loading branch information
Beirdo committed May 3, 2012
1 parent 33705ae commit 390569b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/version.sh
Expand Up @@ -22,6 +22,7 @@ GITREPOPATH="exported"

cd ${GITTREEDIR}

git status > /dev/null 2>&1
SOURCE_VERSION=$(git describe --dirty || git describe || echo Unknown)

case "${SOURCE_VERSION}" in
Expand Down

0 comments on commit 390569b

Please sign in to comment.