mirror of http://192.168.10.4:8099/sane/dpkg.git
shell
This commit is contained in:
parent
c7e6da5409
commit
78f0bddf84
4
build.sh
4
build.sh
|
@ -40,11 +40,11 @@ if [ "$oem" != "hg" ] \
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ${oem:0-2:2} == "so" ] || [ ${oem:0-2:2} == "sm" ];
|
||||
if [ "${oem:0-2:2}" == "so" ] || [ "${oem:0-2:2}" == "sm" ];
|
||||
then
|
||||
sanelibname="${oem%${oem:0-2:2}*}"
|
||||
echo $sanelibname
|
||||
elif [ ${oem:0-3:3} == "web" ];
|
||||
elif [ "${oem:0-3:3}" == "web" ];
|
||||
then
|
||||
sanelibname="${oem%${oem:0-3:3}*}"
|
||||
echo $sanelibname
|
||||
|
|
2
dpkg.sh
2
dpkg.sh
|
@ -20,7 +20,6 @@ elif [ "$1" == "cts" ];then
|
|||
echo "---------------dpkg cts---------------"
|
||||
./build.sh cts $2
|
||||
./build.sh ctsso $2
|
||||
./build.sh ctsweb $2
|
||||
else
|
||||
echo "---------------dpkg all---------------"
|
||||
./build.sh hg $2
|
||||
|
@ -34,6 +33,5 @@ echo "---------------dpkg all---------------"
|
|||
./build.sh hwso $2
|
||||
./build.sh cts $2
|
||||
./build.sh ctsso $2
|
||||
./build.sh ctsweb $2
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue