From 5081b58ee88d3b1d204cb90a02b408e2080b1b1c Mon Sep 17 00:00:00 2001 From: Desobediente Civil Date: Mon, 27 Jun 2016 19:19:00 -0300 Subject: [PATCH] Quoting all `cat`s as proposed in #1672 --- qvm-tools/qubes-hcl-report | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qvm-tools/qubes-hcl-report b/qvm-tools/qubes-hcl-report index 72ca74f7..e5e62a45 100755 --- a/qvm-tools/qubes-hcl-report +++ b/qvm-tools/qubes-hcl-report @@ -229,12 +229,12 @@ if [[ "$COPY2VM" != "dom0" ]] if [[ -f "$HOME/$FILENAME.cpio.gz" ]] then - cat $HOME/$FILENAME.cpio.gz | qvm-run -a -q --pass-io $COPY2VM "cat >/home/user/$FILENAME.cpio.gz" + cat "$HOME/$FILENAME.cpio.gz" | qvm-run -a -q --pass-io $COPY2VM "cat >/home/user/$FILENAME.cpio.gz" fi if [[ -f "$HOME/$FILENAME.yml" ]] then - cat $HOME/$FILENAME.yml | qvm-run -a -q --pass-io $COPY2VM "cat >/home/user/$FILENAME.yml" + cat "$HOME/$FILENAME.yml" | qvm-run -a -q --pass-io $COPY2VM "cat >/home/user/$FILENAME.yml" fi fi