diff options
| author | Eric Andersen <andersen@codepoet.org> | 2001-03-08 21:42:11 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2001-03-08 21:42:11 +0000 |
| commit | 39eea898c4ffcbbaa13b542a12692ff52f2dd7d6 (patch) | |
| tree | e0264ff6e461a171d25d2b66ac1867b5823ce1e0 | |
| parent | 7e5291f111733edce3f9cb475af7938c8657f30d (diff) | |
| download | busybox-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.
| -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 @@ | |||
| 7 | 7 | ||
| 8 | # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> | 8 | # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> |
| 9 | 9 | ||
| 10 | export LC_ALL=POSIX | ||
| 11 | export LC_CTYPE=POSIX | ||
| 12 | |||
| 10 | CONFIG_H=${1:-Config.h} | 13 | CONFIG_H=${1:-Config.h} |
| 11 | APPLETS_H=${2:-applets.h} | 14 | APPLETS_H=${2:-applets.h} |
| 12 | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | | 15 | 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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | export LC_ALL=POSIX | ||
| 4 | export LC_CTYPE=POSIX | ||
| 5 | |||
| 3 | RAW=` \ | 6 | RAW=` \ |
| 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;' \ |
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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | export LC_ALL=POSIX | ||
| 4 | export LC_CTYPE=POSIX | ||
| 5 | |||
| 3 | prefix=$1 | 6 | prefix=$1 |
| 4 | if [ "$prefix" = "" ]; then | 7 | if [ "$prefix" = "" ]; then |
| 5 | echo "No installation directory, aborting." | 8 | 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 @@ | |||
| 7 | 7 | ||
| 8 | # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> | 8 | # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> |
| 9 | 9 | ||
| 10 | export LC_ALL=POSIX | ||
| 11 | export LC_CTYPE=POSIX | ||
| 12 | |||
| 10 | CONFIG_H=${1:-Config.h} | 13 | CONFIG_H=${1:-Config.h} |
| 11 | APPLETS_H=${2:-applets.h} | 14 | APPLETS_H=${2:-applets.h} |
| 12 | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | | 15 | 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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | export LC_ALL=POSIX | ||
| 4 | export LC_CTYPE=POSIX | ||
| 5 | |||
| 3 | RAW=` \ | 6 | RAW=` \ |
| 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;' \ |
diff --git a/install.sh b/install.sh index 8cfae3740..d163a2ef8 100755 --- a/install.sh +++ b/install.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | export LC_ALL=POSIX | ||
| 4 | export LC_CTYPE=POSIX | ||
| 5 | |||
| 3 | prefix=$1 | 6 | prefix=$1 |
| 4 | if [ "$prefix" = "" ]; then | 7 | if [ "$prefix" = "" ]; then |
| 5 | echo "No installation directory, aborting." | 8 | 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 @@ | |||
| 10 | # | 10 | # |
| 11 | # If you use a ? in your path name, you lose, see sed command below. | 11 | # If you use a ? in your path name, you lose, see sed command below. |
| 12 | 12 | ||
| 13 | export LC_ALL=POSIX | ||
| 14 | export LC_CTYPE=POSIX | ||
| 15 | |||
| 13 | DIR=${0%%/pristine_setup.sh} | 16 | DIR=${0%%/pristine_setup.sh} |
| 14 | if [ ! -d $DIR ]; then | 17 | if [ ! -d $DIR ]; then |
| 15 | echo "unexpected problem: $DIR is not a directory. Aborting pristine setup" | 18 | echo "unexpected problem: $DIR is not a directory. Aborting pristine setup" |
