summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-03-30 14:52:41 +0000
committerRichard Purdie <richard@openedhand.com>2007-03-30 14:52:41 +0000
commit44456859998a1184366572117c7b755ca720855e (patch)
tree92102418df57727b46be45b30d635ff8e0674190 /meta/classes/rootfs_deb.bbclass
parent6167cc6e71c6a25104752d8b9223983517cd86b3 (diff)
downloadpoky-44456859998a1184366572117c7b755ca720855e.tar.gz
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
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r--meta/classes/rootfs_deb.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index 59909d6852..3cd1d0d04d 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -53,13 +53,13 @@ fakeroot rootfs_deb_do_rootfs () {
53 53
54 if [ ! -z "${LINGUAS_INSTALL}" ]; then 54 if [ ! -z "${LINGUAS_INSTALL}" ]; then
55 apt-get install glibc-localedata-i18n 55 apt-get install glibc-localedata-i18n
56 if [ $? -eq 1 ]; then 56 if [ $? -ne 0 ]; then
57 exit 1 57 exit $?
58 fi 58 fi
59 for i in ${LINGUAS_INSTALL}; do 59 for i in ${LINGUAS_INSTALL}; do
60 apt-get install $i 60 apt-get install $i
61 if [ $? -eq 1 ]; then 61 if [ $? -ne 0 ]; then
62 exit 1 62 exit $?
63 fi 63 fi
64 done 64 done
65 fi 65 fi