From 39eea898c4ffcbbaa13b542a12692ff52f2dd7d6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 8 Mar 2001 21:42:11 +0000 Subject: Per Vladimir's suggestion, force the locale to POSIX for all the scripts so busybox will install properly. --- applets/busybox.mkll | 3 +++ applets/busybox.sh | 3 +++ applets/install.sh | 3 +++ 3 files changed, 9 insertions(+) (limited to 'applets') diff --git a/applets/busybox.mkll b/applets/busybox.mkll index 81b329ad8..4e15e1611 100755 --- a/applets/busybox.mkll +++ b/applets/busybox.mkll @@ -7,6 +7,9 @@ # Maintainer: Larry Doolittle +export LC_ALL=POSIX +export LC_CTYPE=POSIX + CONFIG_H=${1:-Config.h} APPLETS_H=${2:-applets.h} gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | diff --git a/applets/busybox.sh b/applets/busybox.sh index 338298086..2f9a905f5 100755 --- a/applets/busybox.sh +++ b/applets/busybox.sh @@ -1,5 +1,8 @@ #!/bin/sh +export LC_ALL=POSIX +export LC_CTYPE=POSIX + RAW=` \ gcc -E -dM ${1:-Config.h} | \ sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\/\1.c/gp;' \ diff --git a/applets/install.sh b/applets/install.sh index 8cfae3740..d163a2ef8 100755 --- a/applets/install.sh +++ b/applets/install.sh @@ -1,5 +1,8 @@ #!/bin/sh +export LC_ALL=POSIX +export LC_CTYPE=POSIX + prefix=$1 if [ "$prefix" = "" ]; then echo "No installation directory, aborting." -- cgit v1.2.3