scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41407
This commit is contained in:
Felix Fietkau 2014-06-30 06:50:22 +00:00
parent 26b06940a9
commit dcb5d00875
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
BASEDIR="$PWD" BASEDIR="$PWD"
ENVDIR="$PWD/env" ENVDIR="$PWD/env"
export GREP_OPTIONS=
usage() { usage() {
cat <<EOF cat <<EOF

View File

@ -11,6 +11,7 @@ use Cwd 'abs_path';
chdir "$FindBin::Bin/.."; chdir "$FindBin::Bin/..";
$ENV{TOPDIR}=getcwd(); $ENV{TOPDIR}=getcwd();
$ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'"; $ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
$ENV{GREP_OPTIONS}="";
my $mk=`which gmake 2>/dev/null`; # select the right 'make' program my $mk=`which gmake 2>/dev/null`; # select the right 'make' program
chomp($mk); # trim trailing newline chomp($mk); # trim trailing newline