]> xenbits.xensource.com Git - raisin.git/commitdiff
Delete dangling white space
authorDoug Goldstein <cardoe@cardoe.com>
Wed, 9 Sep 2015 15:08:25 +0000 (10:08 -0500)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 11 Sep 2015 14:58:22 +0000 (14:58 +0000)
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
lib/commands.sh
lib/common-functions.sh
scripts/mkdeb
scripts/mkrpm
tests/busybox-hvm
tests/busybox-hvm-migrate
tests/busybox-pv

index a79611e1610107773762ff2e6f79f178fe6b1423..be445a704da433bc110b8bd1c41f0628ec6e5775 100755 (executable)
@@ -50,12 +50,12 @@ function install-builddep() {
 
 function build() {
     check-builddep
-    
+
     mkdir -p "$INST_DIR" &>/dev/null
 
     # build and install under $DESTDIR
     for_each_component build
-    
+
     build_package xen-system
 }
 
index c52174a5b2473754492c8f8ed465f430b5835638..c222ce373e67a53864a6bc76f36fe73337083ba7 100644 (file)
@@ -20,9 +20,9 @@ function common_init() {
     export PREFIX=${PREFIX-/usr}
     export INST_DIR=${DESTDIR-dist}
     export PREPEND="[raisin]"
-    
+
     INST_DIR=`readlink -f $INST_DIR`
-    
+
     # execution
     if [[ $EUID -eq 0 ]]
     then
@@ -62,7 +62,7 @@ function get_components() {
         COMPONENTS="$ENABLED_COMPONENTS"
     fi
 
-    if [[ -z "$COMPONENTS" ]] 
+    if [[ -z "$COMPONENTS" ]]
     then
         local component
         for component in `cat "$BASEDIR"/components/series`
@@ -85,7 +85,7 @@ function get_tests() {
         TESTS="$ENABLED_TESTS"
     fi
 
-    if [[ -z "$TESTS" ]] 
+    if [[ -z "$TESTS" ]]
     then
         local t
         for t in `cat "$BASEDIR"/tests/series`
@@ -380,7 +380,7 @@ function init_tests() {
     else
         error_echo "I don't know distro $DISTRO. It might be missing packages."
     fi
-    
+
     if [[ -n "${missing[@]}" ]]
     then
         verbose_echo "Installing ${missing[@]}"
index dbd92bd9a52fdf1f75490f23d36ae0648890ed6b..5259f1ef5ed7a028f97dd3fab3ffa26e439db810 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 #
-# mkdeb: package $INST_DIR output in a .deb 
+# mkdeb: package $INST_DIR output in a .deb
 #
 # Takes 1 argument: the package name
 # It relies on RAISIN_ARCH and INST_DIR being set correctly
@@ -8,10 +8,10 @@
 set -e
 
 if [[ -z "$1" ]]
-then 
+then
   echo "usage: $0 package_name"
   exit 1
-fi 
+fi
 
 name=$1
 
@@ -41,7 +41,7 @@ cp config raise deb/opt/raisin
 
 # Debian doesn't use /usr/lib64 for 64-bit libraries
 if [[ -d deb/usr/lib64 ]]
-then 
+then
   cp -a deb/usr/lib64/* deb/usr/lib/
   rm -rf deb/usr/lib64
 fi
index 7965c0c26574198f388dea95a72936aacbdca490..88997c6d0945b9d6670077b2e53741dfa16c5695 100755 (executable)
@@ -8,10 +8,10 @@
 set -e
 
 if [[ -z "$1" ]]
-then 
+then
   echo "usage: $0 package_name"
   exit 1
-fi 
+fi
 
 name="$1"
 
index 2b6c1dd3e531cc46e55a6676fa69a8bdb916aa65..51e9e19d72e25ccf7432533b0e51f834f461c73b 100755 (executable)
@@ -16,17 +16,17 @@ function busybox-hvm-test() {
         echo $PREPEND busybox hvm test only valid on x86
         exit 0
     fi
-    
+
     TMPDIR=`mktemp -d`
     cd $TMPDIR
-    
+
     allocate_disk busybox-vm-disk $((20*1024*1024))
     LOOP=`create_loop busybox-vm-disk`
     LOOP_P0=`create_one_partition busybox-vm-disk`
     busybox_rootfs $LOOP_P0
     busybox_network_init $LOOP_P0
     bootloader_init $LOOP $LOOP_P0
-    
+
     cat >busybox-hvm <<EOF
 builder = "hvm"
 memory = 512
@@ -37,7 +37,7 @@ serial="pty"
 boot="c"
 vif=['bridge=xenbr1']
 EOF
-    
+
     $SUDO xl create busybox-hvm
     check_guest_alive
 }
index 14ffc0dd989b3b684e47ce9458165fa40f2396a2..8e8213b54ec797e80cf500e09571d9419b687129 100755 (executable)
@@ -15,7 +15,7 @@ function busybox-hvm-migrate-test() {
         echo $PREPEND busybox hvm test only valid on x86
         exit 0
     fi
-    
+
     busybox-hvm-test
 
     TMPSCRIPT=`mktemp`
@@ -26,7 +26,7 @@ function busybox-hvm-migrate-test() {
 shift
 \$*
 EOF
-    
+
     chmod +x $TMPSCRIPT
     xl migrate -s $TMPSCRIPT raisin-test localhost
     check_guest_alive
index ec3ba5c287801c7208b0027e78f092f1c06650a8..a7ae976894b18aa812970c9e2739e650590110d0 100755 (executable)
@@ -13,12 +13,12 @@ function busybox-pv-cleanup() {
 function busybox-pv-test() {
     TMPDIR=`mktemp -d`
     cd $TMPDIR
-    
+
     allocate_disk busybox-vm-disk $((20*1024*1024))
     LOOP=`create_loop busybox-vm-disk`
     busybox_rootfs $LOOP
     busybox_network_init $LOOP
-    
+
     cat >busybox-pv <<EOF
 kernel = "`get_host_kernel`"
 ramdisk = "`get_host_initrd`"
@@ -31,7 +31,7 @@ serial="pty"
 boot="c"
 vif=['bridge=xenbr1']
 EOF
-    
+
     $SUDO xl create busybox-pv
     check_guest_alive
 }