mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts: test/rpcgen_wrapper.sh
This commit is contained in:
commit
efb644ed87
@ -26,9 +26,19 @@ exit_failed() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ -x /usr/bin/python2 ] ; then
|
||||||
|
PYTHON2=/usr/bin/python2
|
||||||
|
elif [ "x`which python2`" != x ] ; then
|
||||||
|
PYTHON2=python2
|
||||||
|
else
|
||||||
|
PYTHON2=python
|
||||||
|
fi
|
||||||
|
|
||||||
srcdir=$1
|
srcdir=$1
|
||||||
srcdir=${srcdir:-.}
|
srcdir=${srcdir:-.}
|
||||||
${srcdir}/../event_rpcgen.py --quiet ${srcdir}/regress.rpc
|
|
||||||
|
${PYTHON2} ${srcdir}/../event_rpcgen.py --quiet ${srcdir}/regress.rpc
|
||||||
|
|
||||||
case "$?" in
|
case "$?" in
|
||||||
0)
|
0)
|
||||||
exit_updated
|
exit_updated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user