From cvs-return-3328-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Fri Apr 19 22:44:22 2002 Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 30199 invoked by uid 500); 19 Apr 2002 22:44:21 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 30188 invoked by uid 500); 19 Apr 2002 22:44:21 -0000 Delivered-To: apmail-apr-util-cvs@apache.org Date: 19 Apr 2002 22:44:23 -0000 Message-ID: <20020419224423.18617.qmail@icarus.apache.org> From: jerenkrantz@apache.org To: apr-util-cvs@apache.org Subject: cvs commit: apr-util apu-config.in X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jerenkrantz 02/04/19 15:44:23 Modified: . apu-config.in Log: If $bindir doesn't exist, do not cd to that directory. (Mimics change to apr-config.in in apr) Revision Changes Path 1.11 +5 -1 apr-util/apu-config.in Index: apu-config.in =================================================================== RCS file: /home/cvs/apr-util/apu-config.in,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- apu-config.in 16 Apr 2002 07:14:50 -0000 1.10 +++ apu-config.in 19 Apr 2002 22:44:23 -0000 1.11 @@ -103,7 +103,11 @@ thisdir="`dirname $0`" thisdir="`cd $thisdir && pwd`" -tmpbindir="`cd $bindir && pwd`" +if test -d $bindir; then + tmpbindir="`cd $bindir && pwd`" +else + tmpbindir="" +fi if test "$tmpbindir" = "$thisdir"; then location=installed elif test "$APU_SOURCE_DIR" = "$thisdir"; then