5 #scripts_dir=ci/build_deb
6 VERSION=`grep -m 1 "VERSION" ${qemu_src_dir}/config-host.mak | cut -d= -f2-`
14 function qemu_build_validate {
16 if [[ -z "$@" ]]; then
17 echo "usage: ${0} output_dir pkgtype"
22 if [ ! -d ${output_dir} -o ! -w ${output_dir} ] ; then
23 echo "${0}: Output directory '${output_dir}' does not exist or cannot be written"
26 if [ ! -d ${qemu_src_dir} ] ; then
27 echo "${0}: Directory '${qemu_src_dir}' does not exist, run this script from the root of kvmfornfv source tree"