mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Merge pull request #7042 from libgit2/ethomson/benchmark
This commit is contained in:
@@ -126,7 +126,7 @@ cli_commit() {
|
||||
BUILD_OPTIONS=$("$1" version --build-options)
|
||||
fi
|
||||
|
||||
echo "${BUILD_OPTIONS}" | grep '^built from commit: ' | sed -e 's/^built from commit: //'
|
||||
echo "${BUILD_OPTIONS}" | { grep '^built from commit: ' || echo "unknown"; } | sed -e 's/^built from commit: //'
|
||||
}
|
||||
|
||||
TEST_CLI_NAME=$(basename "${TEST_CLI}")
|
||||
|
||||
Reference in New Issue
Block a user