Per Vladimir's suggestion, force the locale to POSIX for all

the scripts so busybox will install properly.
This commit is contained in:
Eric Andersen 2001-03-08 21:42:11 +00:00
parent 7e5291f111
commit 39eea898c4
7 changed files with 21 additions and 0 deletions

View File

@ -7,6 +7,9 @@
# Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov>
export LC_ALL=POSIX
export LC_CTYPE=POSIX
CONFIG_H=${1:-Config.h} CONFIG_H=${1:-Config.h}
APPLETS_H=${2:-applets.h} APPLETS_H=${2:-applets.h}
gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |

View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
export LC_ALL=POSIX
export LC_CTYPE=POSIX
RAW=` \ RAW=` \
gcc -E -dM ${1:-Config.h} | \ gcc -E -dM ${1:-Config.h} | \
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \

View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
export LC_ALL=POSIX
export LC_CTYPE=POSIX
prefix=$1 prefix=$1
if [ "$prefix" = "" ]; then if [ "$prefix" = "" ]; then
echo "No installation directory, aborting." echo "No installation directory, aborting."

View File

@ -7,6 +7,9 @@
# Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov> # Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov>
export LC_ALL=POSIX
export LC_CTYPE=POSIX
CONFIG_H=${1:-Config.h} CONFIG_H=${1:-Config.h}
APPLETS_H=${2:-applets.h} APPLETS_H=${2:-applets.h}
gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H | gcc -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |

View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
export LC_ALL=POSIX
export LC_CTYPE=POSIX
RAW=` \ RAW=` \
gcc -E -dM ${1:-Config.h} | \ gcc -E -dM ${1:-Config.h} | \
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \ sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' \

View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
export LC_ALL=POSIX
export LC_CTYPE=POSIX
prefix=$1 prefix=$1
if [ "$prefix" = "" ]; then if [ "$prefix" = "" ]; then
echo "No installation directory, aborting." echo "No installation directory, aborting."

View File

@ -10,6 +10,9 @@
# #
# If you use a ? in your path name, you lose, see sed command below. # 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} DIR=${0%%/pristine_setup.sh}
if [ ! -d $DIR ]; then if [ ! -d $DIR ]; then
echo "unexpected problem: $DIR is not a directory. Aborting pristine setup" echo "unexpected problem: $DIR is not a directory. Aborting pristine setup"