projects
/
scm
/
bb
/
tizen-distro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4fd0f
)
rootfs_deb: Catch all error codes and return them
author
Richard Purdie
<richard@openedhand.com>
Fri, 30 Mar 2007 14:52:41 +0000
(14:52 +0000)
committer
Richard Purdie
<richard@openedhand.com>
Fri, 30 Mar 2007 14:52:41 +0000
(14:52 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1416
311d38ba
-8fff-0310-9ca6-
ca027cbcb966
meta/classes/rootfs_deb.bbclass
patch
|
blob
|
history
diff --git
a/meta/classes/rootfs_deb.bbclass
b/meta/classes/rootfs_deb.bbclass
index
59909d6
..
3cd1d0d
100644
(file)
--- a/
meta/classes/rootfs_deb.bbclass
+++ b/
meta/classes/rootfs_deb.bbclass
@@
-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