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
|
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
|
||||||
|
|
2
dpkg.sh
2
dpkg.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue