libtool-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 3/6] Support missing detached signatures, like gnulib impleme


From: Ralf Wildenhues
Subject: Re: [PATCH 3/6] Support missing detached signatures, like gnulib implementation.
Date: Tue, 31 Aug 2010 19:49:54 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Gary V. Vaughan wrote on Tue, Aug 31, 2010 at 08:43:17AM CEST:
> * libltdl/config/announce-gen.m4sh (func_print_locations): Don't
> bail out or print garbage when trying to find the size of a
> non-existent file.

OK thanks.  While you're at it, TAB before space is a little less likely
to be garbage-collected by editors.

The summary lines of the commit entry and the ChangeLog entry of this
patch do not match the detailed explanation nor the actual patch though.

Cheers,
Ralf

> --- a/libltdl/config/announce-gen.m4sh
> +++ b/libltdl/config/announce-gen.m4sh
> @@ -267,8 +267,12 @@ func_print_locations ()
>       echo "Here are the $1:"
>       echo
>       for my_file in $3; do
> -         my_size=`$DU -h $my_file|sed 's,[bB]*[      ].*$,,'`
> -         echo "  $2/$my_file (${my_size}B)"
> +         if test -f "$my_file"; then
> +             my_size=" (`$DU -h $my_file|sed 's,[bB]*[       ].*$,,'`B)"
> +         else
> +             my_size=""
> +         fi
> +         echo "  $2/$my_file$my_size"
>       done
>      }
>  




reply via email to

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