trivial diff: bix a bug in my previous change to bootcheck
Zoltan Somogyi
zs at cs.mu.OZ.AU
Mon Aug 31 12:15:06 AEST 1998
tools/bootcheck:
Delete stage2/library/*.o only after stage 2 is complete, since
the complete stage2 make requires it.
Zoltan.
cvs diff: Diffing .
Index: bootcheck
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.60
diff -u -u -r1.60 bootcheck
--- bootcheck 1998/08/30 03:44:44 1.60
+++ bootcheck 1998/08/31 04:13:18
@@ -510,15 +510,6 @@
exit 1
fi
- # We can remove the object files now, since the archive is there.
- if $keep_objs
- then
- true
- else
- /bin/rm -f $root/stage2/library/[a-l]*.o < /dev/null
- /bin/rm -f $root/stage2/library/[m-z]*.o < /dev/null
- fi
-
if (cd stage2/compiler && mmake $mmake_opts $jfactor RM_C=: mercury_compile)
then
echo "building of stage 2 compiler successful"
@@ -536,6 +527,16 @@
else
echo "building of stage 2 not successful"
exit 1
+ fi
+
+ # We can remove the library object files now,
+ # but we will keep the compiler objects for a while longer
+ if $keep_objs
+ then
+ true
+ else
+ /bin/rm -f $root/stage2/library/[a-l]*.o < /dev/null
+ /bin/rm -f $root/stage2/library/[m-z]*.o < /dev/null
fi
MERCURY_COMPILER=$root/stage2/compiler/mercury_compile
More information about the developers
mailing list