summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-10-04 13:14:04 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-10-04 13:14:04 +0000
commitb4880a9f8bd3a45cf5205acdf2d1705c18af2bee (patch)
tree199e5aa253cded11b29b2b7906237764419168b7 /eclass
parentActually, automake 1.9 seems to work only on some systems for this, use 1.4 f... (diff)
downloadhistorical-b4880a9f8bd3a45cf5205acdf2d1705c18af2bee.tar.gz
historical-b4880a9f8bd3a45cf5205acdf2d1705c18af2bee.tar.bz2
historical-b4880a9f8bd3a45cf5205acdf2d1705c18af2bee.zip
Wow. Sometimes I even amaze myself. It helps to use -f when doing a file check, rather than -d. Thanks to Bo Ørsted Andresen <bo.andresen@zlin.dk> for finding this mistake.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vmware.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/vmware.eclass b/eclass/vmware.eclass
index e53edf8cab05..f899598825cc 100644
--- a/eclass/vmware.eclass
+++ b/eclass/vmware.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.13 2006/10/03 13:19:10 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vmware.eclass,v 1.14 2006/10/04 13:14:04 wolf31o2 Exp $
# This eclass is for all vmware-* ebuilds in the tree and should contain all
# of the common components across the multiple packages.
@@ -152,9 +152,9 @@ vmware_src_unpack() {
done
fi
# Unpack our new libs.
- [ -d "${DISTDIR}"/vmware-libssl.so.0.9.7l.tar.bz2 ] && \
+ [ -f "${DISTDIR}"/vmware-libssl.so.0.9.7l.tar.bz2 ] && \
unpack vmware-libssl.so.0.9.7l.tar.bz2
- [ -d "${DISTDIR}"/vmware-libcrypto.so.0.9.7l.tar.bz2 ] && \
+ [ -f "${DISTDIR}"/vmware-libcrypto.so.0.9.7l.tar.bz2 ] && \
unpack vmware-libcrypto.so.0.9.7l.tar.bz2
fi
}