gpgrt-config: Portability fix for use of expr.

Authored by gniibe on Dec 10 2018, 12:58 AM.

Description

gpgrt-config: Portability fix for use of expr.

* src/gpgrt-config (sysroot): Care about possible interpretation of
minus sign be considered an option to a program.
(MAIN): Don't use 'match' of expr but use ':' instead.
  • Reported-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeDec 10 2018, 12:58 AM
Parents
rE60f3d4440249: Silence cc warning about snprintf redefinition
Branches
Unknown
Tags
Unknown