Replace a bash-specific substitution with equivalent POSIX /bin/sh

substitutions.  This allows a Xen-patched Linux to build when /bin/sh
is a POSIX shell other than bash.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-05-05 13:51:03 +01:00
1 parent b7f7d7a8ec
commit 4a0f8a20b8
1 file changed
+3 -3
+3 -3
View File
@@ -2,9 +2,9 @@
# cherrypickxen($1 = allobj)
cherrypickxen = $(foreach var, $(1), \
$(shell o=$(var); \
c=$${o/%.o/-xen.c}; \
s=$${o/%.o/-xen.S}; \
oxen=$${o/%.o/-xen.o}; \
c=$${o%.o}-xen.c; \
s=$${o%.o}-xen.S; \
oxen=$${o%.o}-xen.o; \
[ -f $(srctree)/$(src)/$${c} ] || \
[ -f $(srctree)/$(src)/$${s} ] \
&& echo $$oxen \
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.