[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix non-portable grep usage. Solaris doesn't have -q option.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1194982015 0
# Node ID 44f24d71729918187b09f3c50992c139f2746cbd
# Parent  6c544894b8b2d2329ad1aa991ae25ebf8e1764d3
Fix non-portable grep usage. Solaris doesn't have -q option.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/firmware/rombios/32bit/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6c544894b8b2 -r 44f24d717299 tools/firmware/rombios/32bit/Makefile
--- a/tools/firmware/rombios/32bit/Makefile     Tue Nov 13 19:21:00 2007 +0000
+++ b/tools/firmware/rombios/32bit/Makefile     Tue Nov 13 19:26:55 2007 +0000
@@ -34,7 +34,7 @@ clean:
 $(TARGET): subdirs 32bitbios.o util.o
        $(LD) $(LDFLAGS_DIRECT) -s -r 32bitbios.o $(MODULES) util.o -o 
32bitbios_all.o
        @nm 32bitbios_all.o |                                \
-         grep -E -q '^ +U ' && {                            \
+         egrep '^ +U ' >/dev/null && {                      \
            echo "There are undefined symbols in the BIOS:"; \
            nm -u 32bitbios_all.o;                           \
            exit 11;                                         \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.