mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
type -p seems to be a bashism. doing svn --version instead
/me blames darix :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3987 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6ff6947c40
commit
54a2b99ba8
@ -35,7 +35,7 @@ perl syntax.pl
|
||||
if test -z "$SVN"; then
|
||||
SVN=svn
|
||||
fi
|
||||
if type -p $SVN > /dev/null; then
|
||||
if $SVN --version >/dev/null 2>/dev/null; then
|
||||
if test -f $srcdir/ChangeLog; then
|
||||
CHANGELOG_VERSION=`head -n 2 $srcdir/ChangeLog| grep '^r' | sed 's/^r\([0-9]*\).*/\1/'`
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user