scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jun 2014 06:50:22 +0000 (06:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 30 Jun 2014 06:50:22 +0000 (06:50 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41407

scripts/env
scripts/feeds

index 24d4bec..5542b20 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/env bash
 BASEDIR="$PWD"
 ENVDIR="$PWD/env"
 #!/usr/bin/env bash
 BASEDIR="$PWD"
 ENVDIR="$PWD/env"
+export GREP_OPTIONS=
 
 usage() {
        cat <<EOF
 
 usage() {
        cat <<EOF
index 85aeab5..be07e59 100755 (executable)
@@ -11,6 +11,7 @@ use Cwd 'abs_path';
 chdir "$FindBin::Bin/..";
 $ENV{TOPDIR}=getcwd();
 $ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
 chdir "$FindBin::Bin/..";
 $ENV{TOPDIR}=getcwd();
 $ENV{GIT_CONFIG_PARAMETERS}="'core.autocrlf=false'";
+$ENV{GREP_OPTIONS}="";
 
 my $mk=`which gmake 2>/dev/null`;      # select the right 'make' program
 chomp($mk);            # trim trailing newline
 
 my $mk=`which gmake 2>/dev/null`;      # select the right 'make' program
 chomp($mk);            # trim trailing newline