Skip to content

Commit c6ab9ba

Browse files
committed
---
yaml --- r: 51627 b: refs/heads/incoming c: 6647150 h: refs/heads/master i: 51625: e93fcca 51623: 4808a86 v: v3
1 parent 0ab976b commit c6ab9ba

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 218093d912b3725251e7a97d44f03321ba856ce6
9+
refs/heads/incoming: 664715065737384a380a7d424ca63551f6788d2a
1010
refs/heads/dist-snap: 8b98e5a296d95c5e832db0756828e5bec31c6f50
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/configure

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -406,13 +406,12 @@ fi
406406

407407
if [ ! -z "$CFG_PANDOC" ]
408408
then
409-
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc ' |
410-
# extract the first 2 version fields, ignore everything else
411-
sed 's/pandoc \([0-9]*\)\.\([0-9]*\).*/\1 \2/')
412-
413-
# these patterns are shell globs, *not* regexps
414-
PV_MAJOR=${PV_MAJOR_MINOR% *}
415-
PV_MINOR=${PV_MAJOR_MINOR#* }
409+
PANDOC_VER_LINE=$(pandoc --version | grep '^pandoc ')
410+
PANDOC_VER=${PANDOC_VER_LINE#pandoc }
411+
PV_MAJOR_MINOR=${PANDOC_VER%.[0-9]*}
412+
PV_MAJOR=${PV_MAJOR_MINOR%%[.][0-9]*}
413+
PV_MINOR=${PV_MAJOR_MINOR#[0-9]*[.]}
414+
PV_MINOR=${PV_MINOR%%[.][0-9]*}
416415
if [ "$PV_MAJOR" -lt "1" ] || [ "$PV_MINOR" -lt "8" ]
417416
then
418417
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. disabling"

branches/incoming/src/libcore/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fn with_dirp<T>(d: &Option<~str>,
182182
*
183183
* # Return value
184184
*
185-
* The process id
185+
* The process's exit code
186186
*/
187187
pub fn run_program(prog: &str, args: &[~str]) -> int {
188188
let pid = spawn_process(prog, args, &None, &None,

0 commit comments

Comments
 (0)