CVS: theedge/var/lib/lunar/functions build.lunar,1.13,1.14
Steven Michaelske
hardkrash at lunar-linux.org
Tue Dec 9 02:56:52 GMT 2003
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv27050
Modified Files:
build.lunar
Log Message:
added error message to make clean failing in default_pre_build
Index: build.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/build.lunar,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- build.lunar 26 Nov 2003 20:52:13 -0000 1.13
+++ build.lunar 9 Dec 2003 02:56:50 -0000 1.14
@@ -187,7 +187,14 @@
if [[ -d $SOURCE_DIRECTORY ]] &&
[[ $KEEP_SOURCE == "on" ]]; then
cd $SOURCE_DIRECTORY &&
- make clean
+ make clean
+ if [ $? -ne 0 ]; then
+ message "${PROBLEM_COLOR}ERROR: ${DEFAULT_COLOR}The source for \
+${MODULE_COLOR}$MODULE${DEFUALT_COLOR}: could not be made clean for build."
+ # Thoughts on forcing a new source directory?
+ # More of how should we handle this, currently we will bail out
+ # A vast majority of the moonbase will fail, (w/o: make clean)
+ fi
else
mk_source_dir $SOURCE_DIRECTORY &&
unpack $SOURCE
More information about the Lunar-commits
mailing list