Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jemalloc-sys/configure/configure
Original file line number Diff line number Diff line change
Expand Up @@ -8256,7 +8256,7 @@ done
# Check whether --with-version was given.
if test "${with_version+set}" = set; then :
withval=$with_version;
echo "${with_version}" | grep '^[0-9]\+\.[0-9]\+\.[0-9]\+-[0-9]\+-g[0-9a-f]\+$' 2>&1 1>/dev/null
echo "${with_version}" | grep '^[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*-[0-9][0-9]*-g[0-9a-f][0-9a-f]*$' 2>&1 1>/dev/null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use grep -E should be OK.

if test $? -eq 0 ; then
echo "$with_version" > "${objroot}VERSION"
else
Expand Down