comparison sdl-config.in @ 1856:21f13c787b46

Date: Mon, 22 May 2006 01:16:47 -0400 From: Mike Frysinger Subject: [SDL] [patch] fix sed expression in sdl-config just noticed that sdl-config uses '[a-z]' with sed in sdl-config without forcing the locale to C ... this could cause problems with locales where the letter 'z' is not the last letter in the alphabet
author Sam Lantinga <slouken@libsdl.org>
date Tue, 23 May 2006 15:07:56 +0000
parents 2af911d41a08
children c121d94672cb 56ec4d962487
comparison
equal deleted inserted replaced
1855:5ff2c01e475e 1856:21f13c787b46
14 exit 1 14 exit 1
15 fi 15 fi
16 16
17 while test $# -gt 0; do 17 while test $# -gt 0; do
18 case "$1" in 18 case "$1" in
19 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 19 -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;;
20 *) optarg= ;; 20 *) optarg= ;;
21 esac 21 esac
22 22
23 case $1 in 23 case $1 in
24 --prefix=*) 24 --prefix=*)