* tests/grub_script_expansion.in: Explicitly tell grep that we handle

text and not binary.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-09 19:58:38 +02:00
parent 96f7e60eae
commit 5561c22d59
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-06-09 Vladimir Serbinenko <phcoder@gmail.com>
* tests/grub_script_expansion.in: Explicitly tell grep that we handle
text and not binary.
2012-06-09 Vladimir Serbinenko <phcoder@gmail.com> 2012-06-09 Vladimir Serbinenko <phcoder@gmail.com>
Stop polling as soon as we have the packet we were waiting for. Stop polling as soon as we have the packet we were waiting for.

View file

@ -17,7 +17,7 @@ set -e
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
disks=`echo ls | @builddir@/grub-shell| grep -v '^Network protocols:$'| grep -v '^tftp http $'` disks=`echo ls | @builddir@/grub-shell| grep -av '^Network protocols:$'| grep -av '^tftp http $'`
other=`echo insmod regexp\; echo \* | @builddir@/grub-shell` other=`echo insmod regexp\; echo \* | @builddir@/grub-shell`
for d in $disks; do for d in $disks; do
if echo "$d" |grep ',' >/dev/null; then if echo "$d" |grep ',' >/dev/null; then