libtool-patches
[Top][All Lists]
Advanced

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

[FYI] Only use precious_files_regex when not empty.


From: Scott James Remnant
Subject: [FYI] Only use precious_files_regex when not empty.
Date: Sun, 14 Mar 2004 14:14:16 +0000

Applied to HEAD and branch-1-5.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

diff -ruNp libtool-CVS~/ChangeLog libtool-CVS/ChangeLog
--- libtool-CVS~/ChangeLog      2004-03-14 13:07:27.000000000 +0000
+++ libtool-CVS/ChangeLog       2004-03-14 14:09:41.000000000 +0000
@@ -0,0 +1,4 @@
+2004-03-14  Scott James Remnant  <address@hidden>
+
+       * m4/ltmain.in: Only check precious_files_regex if it is not empty.
+
diff -ruNp libtool-CVS~/ltmain.in libtool-CVS/ltmain.in
--- libtool-CVS~/ltmain.in      2004-02-23 16:59:14.000000000 +0000
+++ libtool-CVS/ltmain.in       2004-03-14 14:09:05.000000000 +0000
@@ -3216,9 +3216,11 @@ EOF
            *.$objext)
               ;;
            $output_objdir/$outputname | $output_objdir/$libname.* | 
$output_objdir/${libname}${release}.*)
-              if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
-              then
-                continue
+              if test "X$precious_files_regex" != "X"; then
+                if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
+                then
+                  continue
+                fi
               fi
               removelist="$removelist $p"
               ;;

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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