Added verbose indication telmplate files was downloading from AppVM

This commit is contained in:
Jason Mehring 2014-11-11 09:00:54 -05:00
parent 26a594a8e5
commit 9a95084370

View File

@ -24,6 +24,7 @@ $(printf "%s \n" ${files[@]})
path="$(readlink -m .)/rpm/noarch" path="$(readlink -m .)/rpm/noarch"
version="-$(cat ./version)" version="-$(cat ./version)"
name="${name}"
EOF EOF
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
@ -33,6 +34,7 @@ cat << 'EOF' >> "${template_dir}"
for file in ${files[@]}; do for file in ${files[@]}; do
if [ ! -e ${file} ]; then if [ ! -e ${file} ]; then
echo "Copying ${file} from ${name} to ${PWD}/${file}..."
qvm-run --pass-io development-qubes "cat ${path}/${file}" > ${file} qvm-run --pass-io development-qubes "cat ${path}/${file}" > ${file}
fi fi