diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/setlocalversion | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion index ae1de3c47..df4c3af5b 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -53,6 +53,9 @@ scm_version() short=false cd "$srctree" + if [ ! -e .git ] ; then + return + fi if test -e .scmversion; then cat .scmversion return |