diff --git a/scripts/setlocalversion b/scripts/setlocalversion index dbe048210d6..26d121816dd 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -48,6 +48,10 @@ scm_version() done cd "$srctree" + if test -e .scmversion; then + cat .scmversion + return + fi if test -n "$(git rev-parse --show-cdup 2>/dev/null)"; then return