[PATCH modular 2/4] build.sh: use the script name only, not the path in usage statement

Trevor Woerner twoerner at gmail.com
Mon Dec 13 08:13:01 PST 2010

On Sat, Dec 11, 2010 at 8:53 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> -    echo "Usage: $0 [options] prefix"
> +    echo "Usage: build.sh [options] prefix"

Personally I'd rather see:
    echo "Usage: `basename $0` [options] prefix"

But then again, maybe we can't count on "basename" always being
available, or working the same way on all platforms? :-D

More information about the xorg-devel mailing list