]> git.lizzy.rs Git - rust.git/commitdiff
fixing configure so that it works on bitrig/openbsd
authorDave Huseby <dhuseby@mozilla.com>
Mon, 9 Mar 2015 23:25:50 +0000 (16:25 -0700)
committerDave Huseby <dhuseby@mozilla.com>
Mon, 9 Mar 2015 23:25:50 +0000 (16:25 -0700)
configure

index d56000b14e25509beeadb66e118f0443b284c628..b0d0c3f29b84a3e6f1f623c54a983b231accd662 100755 (executable)
--- a/configure
+++ b/configure
@@ -701,8 +701,8 @@ probe CFG_ADB        adb
 
 if [ ! -z "$CFG_PANDOC" ]
 then
+    # Extract "MAJOR MINOR" from Pandoc's version number
     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/')
 
     MIN_PV_MAJOR="1"