File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282
8383cd " $( git rev-parse --show-toplevel) " || exit 1
8484
85- if [ " $update_lib_dep " = true ] && [[ -f subprojects/libnvme.wrap ]]; then
86- git -C subprojects/libnvme fetch --all
87-
88- # extract the version string from libnvme by using the ref
89- # defined in libnvme.wrap.
90- libnvme_ref=$( sed -n " s/revision = \([0-9a-z]\+\)/\1/p" subprojects/libnvme.wrap)
91- libnvme_VERSION=$( git -C subprojects/libnvme describe " ${libnvme_ref} " )
92- if [[ " ${libnvme_VERSION} " =~ ${re} ]]; then
93- echo " libnvme: valid version ${libnvme_VERSION} string"
94-
95- # remove the leading 'v'
96- libnvme_ver=" ${libnvme_VERSION# v} "
97- else
98- echo " libnvme: invalid version string ${libnvme_VERSION} "
99- exit 1
100- fi
101- fi
102-
10385if [ " $force " = false ] ; then
10486 if [[ -n $( git status -s) ]]; then
10587 echo " tree is dirty."
You can’t perform that action at this time.
0 commit comments