need to be in ${S} for this to work correctly

This commit is contained in:
Mario Fetka 2012-10-30 08:48:47 +01:00
parent a1a532d64d
commit a17e98c1dc

View File

@ -374,8 +374,10 @@ nas-kernel_src_unpack() {
0|1) nas-kernel_src_prepare ;; 0|1) nas-kernel_src_prepare ;;
esac esac
# delete empty directories # delete empty directories
find "${S}" -type d -empty -exec rmdir {} \; pushd "${S}"
find . -type d -empty -exec rmdir {} \;
popd
} }
nas-kernel_src_prepare() { nas-kernel_src_prepare() {