From 26e2720acd4f7ff3e2b245675c99582440f5ddf5 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 24 Aug 2012 16:52:44 +0200 Subject: [PATCH] Correctly search for libtool. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 2ce7363..4d173f0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,9 +1,9 @@ #!/bin/sh -if which libtoolize >/dev/null; then +if command -v libtoolize >/dev/null 2>&1; then libtoolize --copy else - if which glibtoolize >/dev/null; then + if command -v glibtoolize >/dev/null 2>&1; then glibtoolize --copy fi fi -- libgit2 0.21.4