1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

rootfs_deb: Catch all error codes and return them

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1416 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-03-30 14:52:41 +00:00
parent 6167cc6e71
commit 4445685999
+4 -4
View File
@@ -53,13 +53,13 @@ fakeroot rootfs_deb_do_rootfs () {
if [ ! -z "${LINGUAS_INSTALL}" ]; then
apt-get install glibc-localedata-i18n
if [ $? -eq 1 ]; then
exit 1
if [ $? -ne 0 ]; then
exit $?
fi
for i in ${LINGUAS_INSTALL}; do
apt-get install $i
if [ $? -eq 1 ]; then
exit 1
if [ $? -ne 0 ]; then
exit $?
fi
done
fi