scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 30 Jun 2014 06:50:54 +0000 (06:50 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 30 Jun 2014 06:50:54 +0000 (06:50 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41407

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@41408 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/env
scripts/feeds

index 24d4bec..5542b20 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/env bash
 BASEDIR="$PWD"
 ENVDIR="$PWD/env"
+export GREP_OPTIONS=
 
 usage() {
        cat <<EOF
index b1bdee5..683c505 100755 (executable)
@@ -11,6 +11,7 @@ use Cwd 'abs_path';
 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