opal_get_version.m4sh: remove stale code
Since getting the git version is very fast (vs. "svnversion"), we aren't using the opal_ver_need_repo_rev var any more. So remove this stale code.
Этот коммит содержится в:
родитель
ee70473c48
Коммит
7f3aab9cfa
@ -14,7 +14,7 @@ m4_divert_push([SCRIPT])dnl
|
|||||||
# University of Stuttgart. All rights reserved.
|
# University of Stuttgart. All rights reserved.
|
||||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# Copyright (c) 2008-2014 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -27,16 +27,6 @@ m4_include([opal_get_version.m4])
|
|||||||
srcfile="$1"
|
srcfile="$1"
|
||||||
option="$2"
|
option="$2"
|
||||||
|
|
||||||
case "$option" in
|
|
||||||
# svnversion can take a while to run. If we don't need it, don't run it.
|
|
||||||
--major|--minor|--release|--greek|--base|--help)
|
|
||||||
opal_ver_need_repo_rev=0
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
opal_ver_need_repo_rev=1
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
if test -z "$srcfile"; then
|
if test -z "$srcfile"; then
|
||||||
option="--help"
|
option="--help"
|
||||||
else
|
else
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user