source and destination workaround

This commit is contained in:
Mario Fetka 2012-10-29 23:45:56 +01:00
parent d71192e7f7
commit a4bcff3cf9

View File

@ -420,7 +420,8 @@ _kernel_copy_config() {
cp -rf "${WORKDIR}"/sablink "${S}"
pushd "${S}"
sablink/scripts/prepareconfig ${K_NASKERNEL_NAME}-${CHOST/-*/}
mv .config "${1}"
mv .config "${1}.tmp"
mv "${1}.tmp" "${1}"
rm -rf "${S}/sablink"
popd
else