]> git.pld-linux.org Git - packages/subversion.git/blame - subversion-sh.patch
- added sh patch (adjust swig version checks for non-bash shells)
[packages/subversion.git] / subversion-sh.patch
CommitLineData
1aac8b6c
JB
1--- subversion-1.14.1/build/ac-macros/swig.m4.orig 2020-06-27 06:00:12.000000000 +0200
2+++ subversion-1.14.1/build/ac-macros/swig.m4 2021-07-03 19:46:27.049456656 +0200
3@@ -83,11 +83,11 @@ AC_DEFUN(SVN_FIND_SWIG,
4 # the minor is zero padded to two places,
5 # and the patch level is zero padded to three places.
6 # e.g. 1.3.24 becomes 103024
7- SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
8+ SWIG_VERSION="$(echo "$SWIG_VERSION_RAW" | \
9 $SED -e 's/[[^0-9\.]].*$//' \
10 -e 's/\.\([[0-9]]\)$/.0\1/' \
11 -e 's/\.\([[0-9]][[0-9]]\)$/.0\1/' \
12- -e 's/\.\([[0-9]]\)\./0\1/; s/\.//g;'`"
13+ -e 's/\.\([[0-9]]\)\./0\1/; s/\.//g;')"
14 AC_MSG_RESULT([$SWIG_VERSION_RAW])
15 # If you change the required swig version number, don't forget to update:
16 # subversion/bindings/swig/INSTALL
This page took 0.05788 seconds and 4 git commands to generate.