File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ dnl Copyright (c) 2004-2005 The Regents of the University of California.
1212dnl All rights reserved.
1313dnl Copyright (c) 2008-2020 Cisco Systems, Inc. All rights reserved.
1414dnl Copyright (c) 2014 Intel, Inc. All rights reserved.
15- dnl Copyright (c) 2014 Research Organization for Information Science
16- dnl and Technology (RIST). All rights reserved.
15+ dnl Copyright (c) 2014-2020 Research Organization for Information Science
16+ dnl and Technology (RIST). All rights reserved.
1717dnl $COPYRIGHT $
1818dnl
1919dnl Additional copyrights may follow
@@ -80,7 +80,7 @@ m4_define([OPAL_GET_VERSION],[
8080
8181 # If we're in a git repo and we found the git command, use
8282 # git describe to get the repo rev
83- if test -d " $srcdir /.git" && test $git_happy -eq 1; then
83+ if test -r " $srcdir /.git" && test $git_happy -eq 1; then
8484 if test " $srcdir " ! = " ` pwd` " ; then
8585 git_save_dir=` pwd`
8686 cd " $srcdir "
@@ -91,7 +91,7 @@ m4_define([OPAL_GET_VERSION],[
9191 $2 _REPO_REV=` git describe --tags --always`
9292 fi
9393 else
94- $2 _REPO_REV=date ` $srcdir /getdate.sh ' +%Y-%m-%d' `
94+ $2 _REPO_REV=` $srcdir /config /getdate.sh ' +%Y-%m-%d' `
9595 fi
9696 fi
9797
You can’t perform that action at this time.
0 commit comments