|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix libfsimage compile
# HG changeset patch
# User john.levon@xxxxxxx
# Date 1206637038 25200
# Node ID 944c00f6745eca2bab8d56062d6bffb09155c133
# Parent c8d200eccd65a7be1696a7e91187190cfbeab254
Fix libfsimage compile
Shell portability fixes.
Signed-off-by: John Levon <john.levon@xxxxxxx>
diff --git a/tools/libfsimage/Makefile b/tools/libfsimage/Makefile
--- a/tools/libfsimage/Makefile
+++ b/tools/libfsimage/Makefile
@@ -2,7 +2,7 @@ include $(XEN_ROOT)/tools/Rules.mk
include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS-y = common ufs reiserfs iso9660 fat zfs
-SUBDIRS-y += $(shell $(SHELL) env CC="$(CC)" ./check-libext2fs)
+SUBDIRS-y += $(shell env CC="$(CC)" ./check-libext2fs)
.PHONY: all clean install
all clean install: %: subdirs-%
diff --git a/tools/libfsimage/check-libext2fs b/tools/libfsimage/check-libext2fs
--- a/tools/libfsimage/check-libext2fs
+++ b/tools/libfsimage/check-libext2fs
@@ -9,7 +9,7 @@ int main()
}
EOF
-if test -z ${CC}; then CC="gcc"; fi
+if test -z "${CC}"; then CC="gcc"; fi
${CC} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1
if [ $? = 0 ]; then
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Fix libfsimage compile,
john . levon <=
|
|
|
|
|