]> xenbits.xensource.com Git - people/gdunlap/raisin.git/.git/commitdiff
Fix check for lsb_release presence
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 17 Mar 2015 12:46:56 +0000 (12:46 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 17 Mar 2015 12:46:56 +0000 (12:46 +0000)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
build.sh

index 26240f07ce8a12057723c9968bbc1e7abf9322fb..bc622416b5b4fb7fe64d19ed5905700336624e91 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ source grub.sh
 source libvirt.sh
 
 function get_distro() {
-    if test -x `which lsb_release 2>/dev/null`
+    if test -x "`which lsb_release`"
     then
         os_VENDOR=`lsb_release -i -s`
         os_RELEASE=`lsb_release -r -s`