[Lunar-commits] CVS: theedge/var/lib/lunar/functions build.lunar,
1.23, 1.24
Auke Kok
sofar at lunar-linux.org
Wed Dec 8 08:35:48 UTC 2004
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/home/sofar/active/theedge/var/lib/lunar/functions
Modified Files:
build.lunar
Log Message:
Better check: this literally looks how larege the installwatch file is. If it's zero then the module has not installed ANY file and thus the warning is legit. Most likely profile modules now only are a problem but we'll cope with them a different way.
Index: build.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/build.lunar,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- build.lunar 25 Nov 2004 15:05:53 -0000 1.23
+++ build.lunar 8 Dec 2004 08:35:46 -0000 1.24
@@ -252,10 +252,10 @@
default_post_build() {
debug_msg "default_post_build ($@)"
- if [ -z "$LD_PRELOAD" ]; then
- message "${PROBLEM_COLOR}WARNING: ${DEFAULT_COLOR}${FILE_COLOR}BUILD${DEFAULT_COLOR}${PROBLEM_COLOR} never calls prepare_install!${DEFAULT_COLOR}"
+ if [ $(wc -l $INSTALLWATCHFILE | awk '{print$1}') == "0" ]; then
+ message "${PROBLEM_COLOR}WARNING: ${DEFAULT_COLOR}${FILE_COLOR}BUILD${DEFAULT_COLOR}${PROBLEM_COLOR} does not call prepare_install or installs zero files!${DEFAULT_COLOR}"
fi
-
+
{
gather_docs
More information about the Lunar-commits
mailing list