mirror of http://192.168.10.4:8099/sane/dpkg.git
调整立思辰打包结构
This commit is contained in:
parent
8e233ca672
commit
b04d4dcdbd
11
build.sh
11
build.sh
|
@ -356,7 +356,7 @@ then
|
|||
fi
|
||||
|
||||
cp release/$syspath/$cpu/libsane-"$sanelibname"sane.so dpkg/$syspath/$oem/usr/lib/$libpath/sane/libsane-"$sanelibname"sane.so.1
|
||||
cp release/$syspath/$cpu/libsane-"$sanelibname"sane.so dpkg/$syspath/$oem/usr/local/lib/sane/libsane-"$sanelibname"sane.so.1
|
||||
|
||||
if [ $? -ne 0 ];then
|
||||
echo "copy libsane file fail sane name is :libsane-"$sanelibname"sane.so!!!"
|
||||
exit 1
|
||||
|
@ -394,6 +394,15 @@ elif [ "$oem" == "lscsm" ];
|
|||
then
|
||||
cp -rf release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/$dpkgpath
|
||||
else
|
||||
#暂时只拷贝立思辰
|
||||
if [ "$oem" == "lsc" ];
|
||||
then
|
||||
if [ ! -d "dpkg/$syspath/$oem/usr/local/lib/sane/" ];
|
||||
then
|
||||
mkdir -p "dpkg/$syspath/$oem/usr/local/lib/sane/"
|
||||
fi
|
||||
cp release/$syspath/$cpu/libsane-"$sanelibname"sane.so dpkg/$syspath/$oem/usr/local/lib/sane/libsane-"$sanelibname"sane.so.1
|
||||
fi
|
||||
savedpkgpath="dpkg/$syspath/$oem/opt/apps/$dpkgpath"
|
||||
echo $dpkgpath
|
||||
if [ "$sys" == "UnionTech" ];
|
||||
|
|
Loading…
Reference in New Issue