diff options
-rwxr-xr-x | applets/busybox.mkll | 3 | ||||
-rwxr-xr-x | applets/busybox.sh | 3 | ||||
-rwxr-xr-x | applets/install.sh | 3 | ||||
-rwxr-xr-x | busybox.mkll | 3 | ||||
-rwxr-xr-x | busybox.sh | 3 | ||||
-rwxr-xr-x | install.sh | 3 | ||||
-rwxr-xr-x | pristine_setup.sh | 3 |
7 files changed, 21 insertions, 0 deletions
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 <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 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.*\<BB_\(.*\)\>/\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." diff --git a/busybox.mkll b/busybox.mkll index 81b329ad8..4e15e1611 100755 --- a/busybox.mkll +++ b/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/busybox.sh b/busybox.sh index 338298086..2f9a905f5 100755 --- a/busybox.sh +++ b/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/install.sh b/install.sh index 8cfae3740..d163a2ef8 100755 --- a/install.sh +++ b/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." diff --git a/pristine_setup.sh b/pristine_setup.sh index e1598fd30..62f3f3075 100755 --- a/pristine_setup.sh +++ b/pristine_setup.sh @@ -10,6 +10,9 @@ # # If you use a ? in your path name, you lose, see sed command below. +export LC_ALL=POSIX +export LC_CTYPE=POSIX + DIR=${0%%/pristine_setup.sh} if [ ! -d $DIR ]; then echo "unexpected problem: $DIR is not a directory. Aborting pristine setup" |