Fix version detection using .ottdrev-vc

This commit is contained in:
Jonathan G Rennison
2015-12-06 12:24:39 +00:00
parent c6cbe7f1a9
commit 99cbd64756
2 changed files with 3 additions and 1 deletions

View File

@@ -1064,6 +1064,8 @@ check_params() {
log 1 "checking revision... git detection"
elif [ -d "$ROOT_DIR/.hg" ] && [ -n "`HGPLAIN= hg help 2>/dev/null`" ]; then
log 1 "checking revision... hg detection"
elif [ -f "$ROOT_DIR/.ottdrev-vc" ]; then
log 1 "checking revision... source release version"
elif [ -f "$ROOT_DIR/.ottdrev" ]; then
log 1 "checking revision... source tarball"
else