diff options
-rw-r--r-- | meta/classes/sstate.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 67e0c1d13a..2d8db57c81 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -599,7 +599,8 @@ sstate_create_package () { | |||
599 | if [ "$(ls -A)" ]; then | 599 | if [ "$(ls -A)" ]; then |
600 | set +e | 600 | set +e |
601 | tar -czf $TFILE * | 601 | tar -czf $TFILE * |
602 | if [ $? -ne 0 ] && [ $? -ne 1 ]; then | 602 | ret=$? |
603 | if [ $ret -ne 0 ] && [ $ret -ne 1 ]; then | ||
603 | exit 1 | 604 | exit 1 |
604 | fi | 605 | fi |
605 | set -e | 606 | set -e |