on Mac, LEAST cannot be larger than 255
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user