Modifying support cpio as proposed in #1672
This commit is contained in:
parent
12bf920969
commit
fa83298153
@ -217,7 +217,7 @@ if [[ "$SUPPORT_FILES" == 1 ]]
|
|||||||
|
|
||||||
# cpio
|
# cpio
|
||||||
cd $TEMP_DIR
|
cd $TEMP_DIR
|
||||||
find -print0 |cpio --quiet -o -H crc --null |gzip >$HOME/$FILENAME.cpio.gz
|
find -print0 | cpio --quiet -o -H crc --null | gzip > "$HOME/$FILENAME.cpio.gz"
|
||||||
cd
|
cd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ fi
|
|||||||
if [[ "$COPY2VM" != "dom0" ]]
|
if [[ "$COPY2VM" != "dom0" ]]
|
||||||
then
|
then
|
||||||
# Copy to VM
|
# Copy to VM
|
||||||
qvm-start -q $COPY2VM 2>/dev/null
|
qvm-start -q $COPY2VM 2> /dev/null
|
||||||
|
|
||||||
if [[ -f "$HOME/$FILENAME.cpio.gz" ]]
|
if [[ -f "$HOME/$FILENAME.cpio.gz" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user