[Lunar-commits] makeobj: fixed broken build script
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Sat Feb 2 23:24:59 CET 2008
commit 4c78fefb60e77dd5fc6cd934ac0e211936a5fc3b
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Sat Feb 2 23:24:59 2008 +0100
makeobj: fixed broken build script
---
kde4/base/makeobj/BUILD | 8 ++++----
kde4/base/makeobj/PRE_BUILD | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/kde4/base/makeobj/BUILD b/kde4/base/makeobj/BUILD
index a7e809c..c30f515 100644
--- a/kde4/base/makeobj/BUILD
+++ b/kde4/base/makeobj/BUILD
@@ -4,10 +4,10 @@
install -m755 $SOURCE_CACHE/$MODULE /usr/bin/ &&
- echo "export KDE4_INSTALL_DIR=\"${MODULE_PREFIX}\"" >> $SOURCE_DIRECTORY/kde4.rc &&
- echo export PATH=\"'${PATH}':${MODULE_PREFIX}/bin\" >> $SOURCE_DIRECTORY/kde4.rc &&
- echo export PKG_CONFIG_PATH=\"'${PKG_CONFIG_PATH}':${MODULE_PREFIX}/lib/pkgconfig\" >> $SOURCE_DIRECTORY/kde4.rc &&
+ echo export KDE4_INSTALL_DIR=\"${MODULE_PREFIX}\" >> kde4.rc &&
+ echo export PATH=\"'${PATH}':${MODULE_PREFIX}/bin\" >> kde4.rc &&
+ echo export PKG_CONFIG_PATH=\"'${PKG_CONFIG_PATH}':${MODULE_PREFIX}/lib/pkgconfig\" >> kde4.rc &&
- install -m644 $SOURCE_DIRECTORY/kde4.rc /etc/profile.d/
+ install -m644 kde4.rc /etc/profile.d/
) > $C_FIFO 2>&1
diff --git a/kde4/base/makeobj/PRE_BUILD b/kde4/base/makeobj/PRE_BUILD
index 27ba77d..3b7c8cd 100644
--- a/kde4/base/makeobj/PRE_BUILD
+++ b/kde4/base/makeobj/PRE_BUILD
@@ -1 +1,2 @@
-true
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY
More information about the Lunar-commits
mailing list