mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
fixing configure so that it works on bitrig/openbsd
This commit is contained in:
parent
638832e64c
commit
d0ae7caa49
2
configure
vendored
2
configure
vendored
@ -701,8 +701,8 @@ probe CFG_ADB adb
|
|||||||
|
|
||||||
if [ ! -z "$CFG_PANDOC" ]
|
if [ ! -z "$CFG_PANDOC" ]
|
||||||
then
|
then
|
||||||
|
# Extract "MAJOR MINOR" from Pandoc's version number
|
||||||
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc' |
|
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc' |
|
||||||
# Extract "MAJOR MINOR" from Pandoc's version number
|
|
||||||
sed -E 's/pandoc(.exe)? ([0-9]+)\.([0-9]+).*/\2 \3/')
|
sed -E 's/pandoc(.exe)? ([0-9]+)\.([0-9]+).*/\2 \3/')
|
||||||
|
|
||||||
MIN_PV_MAJOR="1"
|
MIN_PV_MAJOR="1"
|
||||||
|
Loading…
Reference in New Issue
Block a user