aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-30 06:50:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-30 06:50:22 +0000
commitd78513c970af8b068d03a232c672c4dc82b47b0d (patch)
tree9a82e5dc2da3a12fb0e9c9afab5c11a66e7deb20 /scripts
parent2397978836e003e55cd5a66d4025efc262467a79 (diff)
downloadupstream-d78513c970af8b068d03a232c672c4dc82b47b0d.tar.gz
upstream-d78513c970af8b068d03a232c672c4dc82b47b0d.tar.bz2
upstream-d78513c970af8b068d03a232c672c4dc82b47b0d.zip
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/env1
-rwxr-xr-xscripts/feeds1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/env b/scripts/env
index 24d4bec64f..5542b2017b 100755
--- a/scripts/env
+++ b/scripts/env
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
BASEDIR="$PWD"
ENVDIR="$PWD/env"
+export GREP_OPTIONS=
usage() {
cat <<EOF
diff --git a/scripts/feeds b/scripts/feeds
index 85aeab5520..be07e59613 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -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