* cyglsa-config: Unset GREP_OPTIONS when calling grep.

This commit is contained in:
Corinna Vinschen 2010-12-10 10:14:35 +00:00
parent d813b58822
commit 969c7d9a7e
2 changed files with 6 additions and 2 deletions

View 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.

View File

@ -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