mirror of http://192.168.10.4:8099/sane/dpkg.git
fail exit
This commit is contained in:
parent
f7175e286b
commit
6bdc9c6052
12
build.sh
12
build.sh
|
@ -165,7 +165,7 @@ sed -i "3s/.*/$Architecture/g" dpkg/$syspath/$oem/DEBIAN/control
|
|||
|
||||
cp dpkg/60-sane.rules dpkg/$syspath/$oem/etc/udev/rules.d/60-"$oem"sane.rules
|
||||
if [ $? -ne 0 ];then
|
||||
echo "没有这个60-sane.rule "
|
||||
echo "not find:60-sane.rule "
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -228,8 +228,18 @@ else
|
|||
cp release/$syspath/$cpu/* dpkg/$syspath/$oem/opt/apps/$dpkgpath/
|
||||
cp dpkg/$syspath/$oem/opt/apps/$dpkgpath/libsane-"$oem"sane.so dpkg/$syspath/$oem/usr/lib/$libpath/sane/libsane-"$oem"sane.so.1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $? -ne 0 ];then
|
||||
echo "not find:libsane-"$oem"sane.so"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find release/$syspath/$cpu/ -name "*SCAN"
|
||||
if [ $? -ne 0 ];then
|
||||
echo "not find:APP"
|
||||
exit 1
|
||||
fi
|
||||
chmod 755 dpkg -R
|
||||
chmod 755 backup -R
|
||||
|
||||
|
|
Loading…
Reference in New Issue