File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ function getChecksum() {
6262}
6363
6464function createMetadataFile() {
65- local fileData=$( cat $SOURCEFILE )
65+ local fileData=$( cat " $SOURCEFILE " )
6666 echo -e " [" default" ]\nversion = $VERSION .${securityversion} \n" >> " $METADATAFILE "
6767 for template in " ${templates[@]} "
6868 do
@@ -91,8 +91,8 @@ templates=( "kvm-x86_64:https://download.cloudstack.org/systemvm/${CS_VERSION}/s
9191 " ovm3:https://download.cloudstack.org/systemvm/$CS_VERSION /systemvmtemplate-$VERSION -x86_64-ovm.raw.bz2" )
9292
9393PARENTPATH=" $( cd -- " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) /dist/systemvm-templates/"
94- mkdir -p $PARENTPATH
94+ mkdir -p " $PARENTPATH "
9595METADATAFILE=" ${PARENTPATH} metadata.ini"
9696echo > " $METADATAFILE "
97- SOURCEFILE=${PARENTPATH} ' md5sum.txt'
97+ SOURCEFILE=" ${PARENTPATH} md5sum.txt"
9898createMetadataFile
You can’t perform that action at this time.
0 commit comments