WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Replace a bash-specific substitution with equivalent POS

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Replace a bash-specific substitution with equivalent POSIX /bin/sh
From: Xen staging patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 08 May 2006 13:58:16 +0000
Delivery-date: Mon, 08 May 2006 07:04:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6e55040e7b79b613727c869321b02275ea37fe1c
# Parent  9aba6cd8e9e1c1b3c5b13b4c32096db8b36cb03e
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@xxxxxxxxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/scripts/Makefile.xen |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 9aba6cd8e9e1 -r 6e55040e7b79 linux-2.6-xen-sparse/scripts/Makefile.xen
--- a/linux-2.6-xen-sparse/scripts/Makefile.xen Fri May 05 13:49:49 2006 +0100
+++ b/linux-2.6-xen-sparse/scripts/Makefile.xen Fri May 05 13:51:03 2006 +0100
@@ -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 \

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Replace a bash-specific substitution with equivalent POSIX /bin/sh, Xen staging patchbot-unstable <=