1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

Instead of exit 0, do exit 1. 0 is 0, so this doesn't work as intended

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2505 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2007-08-17 09:50:29 +00:00
parent 9a1a624518
commit 48697516fd
+3 -3
View File
@@ -58,12 +58,12 @@ fakeroot rootfs_deb_do_rootfs () {
if [ ! -z "${LINGUAS_INSTALL}" ]; then if [ ! -z "${LINGUAS_INSTALL}" ]; then
apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit 1
fi fi
for i in ${LINGUAS_INSTALL}; do for i in ${LINGUAS_INSTALL}; do
apt-get install $i --force-yes --allow-unauthenticated apt-get install $i --force-yes --allow-unauthenticated
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit 1
fi fi
done done
fi fi
@@ -71,7 +71,7 @@ fakeroot rootfs_deb_do_rootfs () {
if [ ! -z "${PACKAGE_INSTALL}" ]; then if [ ! -z "${PACKAGE_INSTALL}" ]; then
for i in ${PACKAGE_INSTALL}; do for i in ${PACKAGE_INSTALL}; do
apt-get install $i --force-yes --allow-unauthenticated apt-get install $i --force-yes --allow-unauthenticated
if [ $? -eq 1 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
find ${IMAGE_ROOTFS} -name \*.dpkg-new | for i in `cat`; do find ${IMAGE_ROOTFS} -name \*.dpkg-new | for i in `cat`; do