[Frugalware-git] kdetesting: kde.sh * check usr/include exists before trying to split

crazy crazy at frugalware.org
Sun Feb 7 00:48:19 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kdetesting.git;a=commitdiff;h=b0193603d63c6cd849bc60d4835fe285adceb876

commit b0193603d63c6cd849bc60d4835fe285adceb876
Author: crazy <crazy at frugalware.org>
Date:   Sun Feb 7 01:21:14 2010 +0100

kde.sh
* check usr/include exists before trying to split

diff --git a/source/include/kde.sh b/source/include/kde.sh
index d20f6ac..5a081f8 100644
--- a/source/include/kde.sh
+++ b/source/include/kde.sh
@@ -400,7 +400,9 @@ KDE_install()
KDE_cleanup

if [ -z "$_F_kde_no_compiletime" ]; then
-		Fsplit "$pkgname-compiletime" usr/include
+		if [ -d $Fdestdir/usr/include ]; then
+			Fsplit "$pkgname-compiletime" usr/include
+		fi
if [ -d $Fdestdir/usr/share/apps/cmake ]; then
Fsplit "$pkgname-compiletime" usr/share/apps/cmake
fi


More information about the Frugalware-git mailing list