libtool
[Top][All Lists]
Advanced

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

Oh, the ltmain.in diffs


From: Bruce Korb
Subject: Oh, the ltmain.in diffs
Date: Sat, 12 May 2001 20:20:47 -0700

using ``-bwu'' options

--- ltmain.in   Sat May 12 20:09:19 2001
+++ ../ltmain.in        Thu May  3 08:39:52 2001
@@ -4939,14 +4928,15 @@
 
     # The first argument is the command name.
     cmd="$nonopt"
-    if (test -z "$cmd") > /dev/null 2>&1 ; then
+    if test -z "$cmd"; then
   $echo "$modename: you must specify a COMMAND" 1>&2
-  $echo "$help" 1>&2
+      $echo "$help"
   exit 1
 fi
+
     # Handle -dlopen flags immediately.
     for file in $execute_dlfiles; do
-      if (test ! -f "$file") > /dev/null 2>&1 ; then
+      if test ! -f "$file"; then
   $echo "$modename: \`$file' is not a file" 1>&2
   $echo "$help" 1>&2
   exit 1
@@ -4983,13 +4973,12 @@
        dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
        test "X$dir" = "X$file" && dir=.
 
-       if (test -f "$dir/$objdir/$dlname") > /dev/null 2>&1 ; then  :
+       if test -f "$dir/$objdir/$dlname"; then
+         dir="$dir/$objdir"
 else
   $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
1>&2
-  $echo "$help" 1>&2
   exit 1
 fi
-       dir="$dir/$objdir"
        ;;
 
       *.lo)



reply via email to

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