From df4e7e5f9e379632be36d3100f5b04125ddced43 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Mon, 16 Mar 2015 10:44:25 +0000 Subject: [PATCH] Name functions with the name of the component first Signed-off-by: Stefano Stabellini --- build.sh | 12 ++++++------ grub.sh | 4 ++-- libvirt.sh | 4 ++-- xen.sh | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/build.sh b/build.sh index a269d31..a96f403 100755 --- a/build.sh +++ b/build.sh @@ -22,16 +22,16 @@ mkdir -p "$INST_DIR" if test "$XEN_UPSTREAM_REVISION" then - clean_xen - build_xen + xen_clean + xen_build fi if test "$GRUB_UPSTREAM_REVISION" then - clean_grub - build_grub + grub_clean + grub_build fi if test "$LIBVIRT_UPSTREAM_REVISION" then - clean_libvirt - build_libvirt + libvirt_clean + libvirt_build fi diff --git a/grub.sh b/grub.sh index 7df8998..b1fcc89 100644 --- a/grub.sh +++ b/grub.sh @@ -2,12 +2,12 @@ source config -clean_grub() { +grub_clean() { rm -rf memdisk.tar rm -rf grub-dir } -build_grub() { +grub_build() { tar cf memdisk.tar grub.cfg ./git-checkout.sh $GRUB_UPSTREAM_URL $GRUB_UPSTREAM_REVISION grub-dir cd grub-dir diff --git a/libvirt.sh b/libvirt.sh index 12e2533..0a58748 100644 --- a/libvirt.sh +++ b/libvirt.sh @@ -2,11 +2,11 @@ source config -clean_libvirt() { +libvirt_clean() { rm -rf libvirt-dir } -build_libvirt() { +libvirt_build() { ./git-checkout.sh $LIBVIRT_UPSTREAM_URL $LIBVIRT_UPSTREAM_REVISION libvirt-dir cd libvirt-dir ./autogen.sh --disable-threads --with-xen --without-qemu --without-uml \ diff --git a/xen.sh b/xen.sh index c74ec58..edf7a37 100644 --- a/xen.sh +++ b/xen.sh @@ -2,11 +2,11 @@ source config -clean_xen() { +xen_clean() { rm -rf xen-dir } -build_xen() { +xen_build() { ./git-checkout.sh $XEN_UPSTREAM_URL $XEN_UPSTREAM_REVISION xen-dir cd xen-dir ./configure --prefix=$PREFIX -- 2.39.5