summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rwxr-xr-xapplets/busybox.mkll3
-rwxr-xr-xapplets/busybox.sh3
-rwxr-xr-xapplets/install.sh3
3 files changed, 9 insertions, 0 deletions
diff --git a/applets/busybox.mkll b/applets/busybox.mkll
index 81b329a..4e15e16 100755
--- a/applets/busybox.mkll
+++ b/applets/busybox.mkll
@@ -7,6 +7,9 @@
# Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov>
+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 3382980..2f9a905 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.*\<BB_\(.*\)\>/\1.c/gp;' \
diff --git a/applets/install.sh b/applets/install.sh
index 8cfae37..d163a2e 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."