summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2005-09-08 13:09:23 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-09-08 13:09:23 +0000
commit54a2b99ba851e39ecb27cddab0255ed0739aac69 (patch)
treeb31f70dc9d48cbdef6e9cd795505174bb9755b57 /autogen.sh
parent6ff6947c400ab310d23edf75546db0d9ec9a0c32 (diff)
downloadirssi-54a2b99ba851e39ecb27cddab0255ed0739aac69.zip
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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 77853d4a..439e8698 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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