diff --git a/build.sh b/build.sh index f0bae30..4361aaa 100644 --- a/build.sh +++ b/build.sh @@ -84,8 +84,8 @@ case "${pkgtype}" in # 生成MD5文件 rm -f omc-md5sum.txt - md5sum ${RpmBuildDir} >omc-md5sum.txt - echo ${RpmBuildDir} + md5sum ${RpmPkgFile} >${RpmReleaseDebsDir}/omc-md5sum.txt + echo ${RpmPkgFile} ;; deb) # 还原打包目录 @@ -121,7 +121,7 @@ case "${pkgtype}" in # 生成MD5文件 rm -f omc-md5sum.txt - md5sum ${DebPkgFile} >omc-md5sum.txt + md5sum ${DebPkgFile} >${DebReleaseDebsDir}/omc-md5sum.txt echo ${DebPkgFile} ;; *)