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 ;;
esac
# delete empty directories
find "${S}" -type d -empty -exec rmdir {} \;
# delete empty directories
pushd "${S}"
find . -type d -empty -exec rmdir {} \;
popd
}
nas-kernel_src_prepare() {