Per Vladimir's suggestion, force the locale to POSIX for all
the scripts so busybox will install properly.
This commit is contained in:
		@@ -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 |
 | 
			
		||||
 
 | 
			
		||||
@@ -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;' \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,8 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
export LC_ALL=POSIX
 | 
			
		||||
export LC_CTYPE=POSIX
 | 
			
		||||
 | 
			
		||||
prefix=$1
 | 
			
		||||
if [ "$prefix" = "" ]; then
 | 
			
		||||
    echo "No installation directory, aborting."
 | 
			
		||||
 
 | 
			
		||||
@@ -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 |
 | 
			
		||||
 
 | 
			
		||||
@@ -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;' \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,8 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
export LC_ALL=POSIX
 | 
			
		||||
export LC_CTYPE=POSIX
 | 
			
		||||
 | 
			
		||||
prefix=$1
 | 
			
		||||
if [ "$prefix" = "" ]; then
 | 
			
		||||
    echo "No installation directory, aborting."
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user