1
0

feat: ...

This commit is contained in:
zhangsz
2025-06-16 11:41:54 +08:00
parent 79c5378bc3
commit 0f90394faa

View File

@@ -34,7 +34,7 @@ fi
# Use a new parameter list
set -- "${new_args[@]}"
GitLocalRoot=${HOME}/omc.git
GitLocalRoot=${HOME}/${ProjectL}.git
while getopts "r:d" option; do
case $option in
r)
@@ -56,8 +56,8 @@ if [ ! -d ${GitLocalRoot} ]; then
exit 3
fi
ProjectL=omc
ProjectU=OMC
ProjectL=psap
ProjectU=PSAP
PROJECT=${ProjectL}
VERSION=1.2504.1
RelDate=`date +%Y%m%d`
@@ -226,9 +226,9 @@ case "${pkgtype}" in
mv -f $RpmsDir/$RpmArch/$RpmPkgName ${ReleasePkgDir}/$RpmPkgRename
cd ${ReleasePkgDir}
rm -f omc-md5sum.txt
rm -f ${ProjectL}-md5sum.txt
# rpm --addsign *.rpm
md5sum $RpmPkgRename >omc-md5sum.txt
md5sum $RpmPkgRename >${ProjectL}-md5sum.txt
echo "Finish to make ${pkgtype} package <======"
;;
deb)