This commit is contained in:
modehua 2023-01-14 16:44:56 +08:00
parent c7e6da5409
commit 78f0bddf84
2 changed files with 2 additions and 4 deletions

View File

@ -40,11 +40,11 @@ if [ "$oem" != "hg" ] \
exit 1 exit 1
fi fi
if [ ${oem:0-2:2} == "so" ] || [ ${oem:0-2:2} == "sm" ]; if [ "${oem:0-2:2}" == "so" ] || [ "${oem:0-2:2}" == "sm" ];
then then
sanelibname="${oem%${oem:0-2:2}*}" sanelibname="${oem%${oem:0-2:2}*}"
echo $sanelibname echo $sanelibname
elif [ ${oem:0-3:3} == "web" ]; elif [ "${oem:0-3:3}" == "web" ];
then then
sanelibname="${oem%${oem:0-3:3}*}" sanelibname="${oem%${oem:0-3:3}*}"
echo $sanelibname echo $sanelibname

View File

@ -20,7 +20,6 @@ elif [ "$1" == "cts" ];then
echo "---------------dpkg cts---------------" echo "---------------dpkg cts---------------"
./build.sh cts $2 ./build.sh cts $2
./build.sh ctsso $2 ./build.sh ctsso $2
./build.sh ctsweb $2
else else
echo "---------------dpkg all---------------" echo "---------------dpkg all---------------"
./build.sh hg $2 ./build.sh hg $2
@ -34,6 +33,5 @@ echo "---------------dpkg all---------------"
./build.sh hwso $2 ./build.sh hwso $2
./build.sh cts $2 ./build.sh cts $2
./build.sh ctsso $2 ./build.sh ctsso $2
./build.sh ctsweb $2
fi fi