summaryrefslogtreecommitdiff
path: root/applets/busybox.sh
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-08 21:42:11 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-08 21:42:11 +0000
commit39eea898c4ffcbbaa13b542a12692ff52f2dd7d6 (patch)
treee0264ff6e461a171d25d2b66ac1867b5823ce1e0 /applets/busybox.sh
parent7e5291f111733edce3f9cb475af7938c8657f30d (diff)
downloadbusybox-w32-39eea898c4ffcbbaa13b542a12692ff52f2dd7d6.tar.gz
busybox-w32-39eea898c4ffcbbaa13b542a12692ff52f2dd7d6.tar.bz2
busybox-w32-39eea898c4ffcbbaa13b542a12692ff52f2dd7d6.zip
Per Vladimir's suggestion, force the locale to POSIX for all
the scripts so busybox will install properly.
Diffstat (limited to 'applets/busybox.sh')
-rwxr-xr-xapplets/busybox.sh3
1 files changed, 3 insertions, 0 deletions
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 @@
1#!/bin/sh 1#!/bin/sh
2 2
3export LC_ALL=POSIX
4export LC_CTYPE=POSIX
5
3RAW=` \ 6RAW=` \
4 gcc -E -dM ${1:-Config.h} | \ 7 gcc -E -dM ${1:-Config.h} | \
5 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ 8 sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \