for review: msl.in bug fix with --use-subdirs
Peter David ROSS
petdr at cs.mu.OZ.AU
Tue Jun 2 17:55:18 AEST 1998
Hi,
Fergus can you please review this.
Pete.
===================================================================
Estimated hours taken: 3
Another --use-subdirs bug fix when using sicstus.
scripts/msl.in:
Detect the special case file 'sp_lib.ql' even when the file name has
leading directory info.
Index: msl.in
===================================================================
RCS file: /home/staff/zs/imp/mercury/scripts/msl.in,v
retrieving revision 1.14
diff -u -r1.14 msl.in
--- msl.in 1997/07/27 15:09:43 1.14
+++ msl.in 1998/06/02 07:44:37
@@ -67,7 +67,7 @@
for obj in $LIBRARY_OBJS 'kludge for broken shells'; do
if [ "$obj" = 'kludge for broken shells' ]; then
true
- elif [ "$obj" = "sp_lib.ql" ]; then
+ elif [ `basename $obj` = "sp_lib.ql" ]; then
sp_lib=$SPLIBDIR/$obj
elif echo "" "$objlist" "$@" "" | grep " $obj " > /dev/null; then
true
----
+----------------------------------------------------------------------+
| Peter Ross M Sci/Eng Melbourne Uni |
| petdr at cs.mu.oz.au WWW: www.cs.mu.oz.au/~petdr/ ph: +61 3 9344 9158 |
+----------------------------------------------------------------------+
More information about the developers
mailing list