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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41407 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2014-06-30 06:50:22 +00:00
parent 5abb6722ca
commit 5e4ca9f884
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