1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05: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:
Wouter Coekaerts 2005-09-08 13:09:23 +00:00 committed by coekie
parent 6ff6947c40
commit 54a2b99ba8

View File

@ -35,7 +35,7 @@ perl syntax.pl
if test -z "$SVN"; then if test -z "$SVN"; then
SVN=svn SVN=svn
fi fi
if type -p $SVN > /dev/null; then if $SVN --version >/dev/null 2>/dev/null; then
if test -f $srcdir/ChangeLog; then if test -f $srcdir/ChangeLog; then
CHANGELOG_VERSION=`head -n 2 $srcdir/ChangeLog| grep '^r' | sed 's/^r\([0-9]*\).*/\1/'` CHANGELOG_VERSION=`head -n 2 $srcdir/ChangeLog| grep '^r' | sed 's/^r\([0-9]*\).*/\1/'`
fi fi