merge from master
authorS.Çağlar Onur <caglar@verivue.com>
Mon, 21 Mar 2011 16:58:36 +0000 (12:58 -0400)
committerS.Çağlar Onur <caglar@verivue.com>
Mon, 21 Mar 2011 16:58:36 +0000 (12:58 -0400)
bootcd.spec
kvariant.sh

index b5c8116..676d6cf 100644 (file)
@@ -30,6 +30,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch: noarch
 
 Requires: dosfstools, mkisofs, gzip, mtools, syslinux
+# yumdownloader is needed in bootcd-kernel
+Requires: yum-utils
 
 Requires: pyplnet
 
index dc80128..bbd0e46 100755 (executable)
@@ -53,13 +53,13 @@ kernelrpm_url=$1; shift
 
 basedir=$(cd -P $(dirname $0); pwd)
 standard_path="$basedir/build"
-if [ ! -d $standard_path ] ; then
+if [ ! -d "$standard_path" ] ; then
     echo "Cound not find standard image $standard_path - exiting"
     exit 1
 fi
 
 variant_path="$basedir/$variant"
-if [ -e $variant_path ] ; then
+if [ -e "$variant_path" ] ; then
     echo "Found $variant_path - please remove first - exiting"
     exit 1
 fi