libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leftover .loT files after compile failure


From: Albert Chin
Subject: Leftover .loT files after compile failure
Date: Sun, 14 Mar 2004 11:09:13 -0600
User-agent: Mutt/1.4i

The following patch, against branch-1-5, removes the .loT files left
around after a failed compile.

-- 
albert chin (address@hidden)

-- snip snip
2004-03-14  Albert Chin-A-Young  <address@hidden>

        * ltmain.in: Missed some cases where .loT files not removed
        after a failed compile.

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.334.2.27
diff -u -3 -p -r1.334.2.27 ltmain.in
--- ltmain.in   15 Feb 2004 13:22:05 -0000      1.334.2.27
+++ ltmain.in   14 Mar 2004 17:02:45 -0000
@@ -731,6 +731,7 @@ EOF
        $run $mkdir ${xdir}$objdir
        status=$?
        if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
+         $run $rm $removelist
          exit $status
        fi
       fi
@@ -745,7 +746,7 @@ EOF
       $show "$command"
       if $run eval "$command"; then :
       else
-       test -n "$output_obj" && $run $rm $removelist
+       $run $rm $removelist
        exit $EXIT_FAILURE
       fi
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]