[Pcsclite-git-commit] [CCID] 01/01: Suppress an error at bootstrap

Ludovic Rousseau rousseau at moszumanska.debian.org
Sat May 2 14:28:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository CCID.

commit f18a27cda10b3407b53bd65c3338f277c4dc4711
Author: Martin Paljak <martin at martinpaljak.net>
Date:   Thu Apr 30 09:31:18 2015 +0300

    Suppress an error at bootstrap
    
    "type glibtoolize" will display an error message if glibtoolize is not
    found (on non-Mac OS X systems):
    ./bootstrap: line 12: type: glibtoolize: not found
    
    "which glibtoolize" will be quiet. So we use it instead.
---
 bootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap
index 2672891..a1fce4c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -9,7 +9,7 @@ LIBTOOLIZE=libtoolize
 # ==> Caveats
 #  In order to prevent conflicts with Apple's own libtool we have prepended a "g"
 #  so, you have instead: glibtool and glibtoolize.
-type glibtoolize && LIBTOOLIZE=glibtoolize
+which glibtoolize && LIBTOOLIZE=glibtoolize
 
 aclocal -I m4
 $LIBTOOLIZE --copy --force --automake

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/CCID.git



More information about the Pcsclite-cvs-commit mailing list