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 @@ -53,7 +53,7 @@ function getChecksum() {
5353}
5454
5555function createMetadataFile() {
56- local fileData=$( cat $SOURCEFILE )
56+ local fileData=$( cat " $SOURCEFILE " )
5757 echo -e " [" default" ]\nversion = $VERSION .${securityversion} \n" >> " $METADATAFILE "
5858 for template in " ${templates[@]} "
5959 do
@@ -78,8 +78,8 @@ templates=( "kvm:https://download.cloudstack.org/systemvm/${CS_VERSION}/systemvm
7878 " ovm3:https://download.cloudstack.org/systemvm/$CS_VERSION /systemvmtemplate-$VERSION -ovm.raw.bz2" )
7979
8080PARENTPATH=" $( cd -- " $( dirname " $0 " ) " > /dev/null 2>&1 ; pwd -P ) /dist/systemvm-templates/"
81- mkdir -p $PARENTPATH
81+ mkdir -p " $PARENTPATH "
8282METADATAFILE=" ${PARENTPATH} metadata.ini"
8383echo > " $METADATAFILE "
84- SOURCEFILE=${PARENTPATH} ' md5sum.txt'
84+ SOURCEFILE=" ${PARENTPATH} md5sum.txt"
8585createMetadataFile
You can’t perform that action at this time.
0 commit comments