Revision bad5ca1f snf-image-helper/tasks/40InstallUnattend.in

b/snf-image-helper/tasks/40InstallUnattend.in
8 8
### END TAST INFO
9 9

  
10 10
set -e
11
. @commondir@/common.sh
11
. "@commondir@/common.sh"
12 12

  
13 13
if [ -z "$SNF_IMAGE_TARGET" ]; then
14 14
    log_error "Target dir: \`$SNF_IMAGE_TARGET' is missing"	
......
18 18
    exit 0
19 19
fi
20 20

  
21
if [ -f @commondir@/unattend.xml ]; then
22
    cat @commondir@/unattend.xml > $SNF_IMAGE_TARGET/Unattend.xml
21
if [ -f "@commondir@/unattend.xml" ]; then
22
    cat "@commondir@/unattend.xml" > "$SNF_IMAGE_TARGET/Unattend.xml"
23 23
else
24 24
    log_error "File \`@commondir@/unattend.xml' is missing."
25 25
fi

Also available in: Unified diff