[PATCH modular 2/2] build.sh: replace expr substr function with colon operator

Gaetan Nadon memsize at videotron.ca
Mon Jan 16 14:45:50 PST 2012

On 12-01-16 05:20 PM, Cyril Brulebois wrote:
> Gaetan Nadon <memsize at videotron.ca> (16/01/2012):
>> Not all Bourne shell implementation have "substr"
> Maybe better written as:
> case foo in
>   bar) …
> ;;
> esac?
I am not sure what you are suggesting. The goal is to test whether the
variable holds a full pathname or a relative pathname.

The commit text was wrong anyway, so v2 will correct that. Better ways
of doing this are welcome. A while back we had a discussion on the list
and agreed to have this script runnable on all platforms.
> Mraw,
> KiBi.

More information about the xorg-devel mailing list