1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

rm_work.bbclass: Fix typo for package task directory preservation

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-10 12:20:57 +00:00
parent 9d7aa1090c
commit 5cac571791
+2 -2
View File
@@ -19,10 +19,10 @@ do_rm_work () {
do do
if [ `basename ${S}` = $dir ]; then if [ `basename ${S}` = $dir ]; then
rm -rf $dir rm -rf $dir
# The package and package-split directories are retained by sstate for # The package and packages-split directories are retained by sstate for
# do_package so we retain them here too. Anything in sstate 'plaindirs' # do_package so we retain them here too. Anything in sstate 'plaindirs'
# should be retained. Also retain logs and other files in temp. # should be retained. Also retain logs and other files in temp.
elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'package-split' ]; then elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'packages-split' ]; then
rm -rf $dir rm -rf $dir
fi fi
done done