Fix libfsimage compile
PATCH 1/1 Fix libfsimage compile
# HG changeset patch
# User [email protected]
# Date 1206637038 25200
# Node ID 944c00f6745eca2bab8d56062d6bffb09155c133 # Parent c8d200eccd65a7be1696a7e91187190cfbeab254 Fix libfsimage compile
Shell portability fixes.
Signed-off-by John Levon <[email protected]>
tools/libfsimage/Makefile +1 -1
@@ -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-%
tools/libfsimage/check-libext2fs +1 -1
@@ -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