diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 79ae392116..b5267f00be 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -747,14 +747,13 @@ sstate_task_postfunc[dirs] = "${WORKDIR}" | |||
747 | # set as SSTATE_BUILDDIR. Will be run from within SSTATE_BUILDDIR. | 747 | # set as SSTATE_BUILDDIR. Will be run from within SSTATE_BUILDDIR. |
748 | # | 748 | # |
749 | sstate_create_package () { | 749 | sstate_create_package () { |
750 | TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX` | 750 | # Exit early if it already exists |
751 | |||
752 | # Exit earlu if it already exists | ||
753 | if [ -e ${SSTATE_PKG} ]; then | 751 | if [ -e ${SSTATE_PKG} ]; then |
754 | return | 752 | return |
755 | fi | 753 | fi |
756 | 754 | ||
757 | mkdir -p `dirname ${SSTATE_PKG}` | 755 | mkdir -p `dirname ${SSTATE_PKG}` |
756 | TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX` | ||
758 | 757 | ||
759 | # Use pigz if available | 758 | # Use pigz if available |
760 | OPT="-czS" | 759 | OPT="-czS" |