summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-12-10 10:14:35 +0000
committerCorinna Vinschen <corinna@vinschen.de>2010-12-10 10:14:35 +0000
commit969c7d9a7ecb35a9dc5ca42177d67e5d2994a004 (patch)
tree7b0c088e3a14c1af83ec8f2cc64572f29f692fc7
parentd813b58822ac2ef285106a5bd4b17b6cd08d9657 (diff)
downloadcygnal-969c7d9a7ecb35a9dc5ca42177d67e5d2994a004.tar.gz
cygnal-969c7d9a7ecb35a9dc5ca42177d67e5d2994a004.tar.bz2
cygnal-969c7d9a7ecb35a9dc5ca42177d67e5d2994a004.zip
* cyglsa-config: Unset GREP_OPTIONS when calling grep.
-rw-r--r--winsup/lsaauth/ChangeLog4
-rwxr-xr-xwinsup/lsaauth/cyglsa-config4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/lsaauth/ChangeLog b/winsup/lsaauth/ChangeLog
index dfc4a05f8..7e91cdbb6 100644
--- a/winsup/lsaauth/ChangeLog
+++ b/winsup/lsaauth/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-10 Illia Bobyr <Illia.Bobyr@ronin-capital.com>
+
+ * cyglsa-config: Unset GREP_OPTIONS when calling grep.
+
2010-01-29 Corinna Vinschen <corinna@vinschen.de>
* cyglsa.c: Include lmcons.h instead of lm.h to make newer WinDDK happy.
diff --git a/winsup/lsaauth/cyglsa-config b/winsup/lsaauth/cyglsa-config
index 0a749f7ce..076a16694 100755
--- a/winsup/lsaauth/cyglsa-config
+++ b/winsup/lsaauth/cyglsa-config
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# cyglsa-config, Copyright 2006 Red Hat Inc.
+# cyglsa-config, Copyright 2006, 2010 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -92,7 +92,7 @@ fi
old=`regtool get "${value}"`
new=`for i in ${old}
do
- echo $i | grep -v cyglsa
+ echo $i | GREP_OPTIONS="" grep -v cyglsa
done`
if ! regtool set "${value}" ${new} "${bindir}\\cyglsa\\${dll}"
then