Skip to content

Commit

Permalink
Date: Mon, 22 May 2006 01:16:47 -0400
Browse files Browse the repository at this point in the history
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
  • Loading branch information
slouken committed May 23, 2006
1 parent 8dcb78a commit 02d908f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdl-config.in
Expand Up @@ -16,7 +16,7 @@ fi

while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
-*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac

Expand Down

0 comments on commit 02d908f

Please sign in to comment.