OSDN Git Service

* cyglsa-config: Unset GREP_OPTIONS when calling grep.
authorcorinna <corinna>
Fri, 10 Dec 2010 10:14:35 +0000 (10:14 +0000)
committercorinna <corinna>
Fri, 10 Dec 2010 10:14:35 +0000 (10:14 +0000)
winsup/lsaauth/ChangeLog
winsup/lsaauth/cyglsa-config

index dfc4a05..7e91cdb 100644 (file)
@@ -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.
index 0a749f7..076a166 100755 (executable)
@@ -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