on Mac, LEAST cannot be larger than 255

master
Marc Wäckerlin 10 years ago
parent 8e35543298
commit 96bb5b886b
  1. 3
      configure.ac

@ -25,7 +25,8 @@ m4_define(x_least, m4_esyscmd_s(
LEAST="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout"
for path in . .. ../..; do
if svn info $path 2>&1 > /dev/null; then
LEAST=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')
# Mac does not support LEAST > 255
LEAST=$(($(LANG= svn info $path | sed -n 's/Last Changed Rev: //p')%256))
(cd $path && svn2cl)
break;
fi

Loading…
Cancel
Save