Eric Blake wrote:
> There are still other potentially non-portable uses of echo
> throughout this file, if $(ME) contains \ or starts with -,
> but this patch is a trivial step in the right direction.
>
> * top/maint.mk (gzip_rsyncable): Convert all uses of echo -* to
> printf.
> Reported by Matthi
There are still other potentially non-portable uses of echo
throughout this file, if $(ME) contains \ or starts with -,
but this patch is a trivial step in the right direction.
* top/maint.mk (gzip_rsyncable): Convert all uses of echo -* to
printf.
Reported by Matthias Bolte.
Signed-off-by: Eric
On 05/16/2010 10:25 PM, Bruno Haible wrote:
+ # Test whether "$0" points to a test script.
+ case "$0" in
+ *.sh) true;;
+ *) false;;
+ esac
I think this is not a robust assumption.
Maybe something like
sh | *[a-z0-9]sh) false;; # $0 is a