Skip to content

Commit

Permalink
Optimize rebuild scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Feb 3, 2022
1 parent 10be63b commit c057ae8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ download_kernel() {
for KERNEL_VAR in ${build_kernel[*]}; do
if [ ! -d "${kernel_path}/${KERNEL_VAR}" ]; then
echo -e "(${i}) [ ${KERNEL_VAR} ] Kernel loading from [ ${kernel_repo}/${KERNEL_VAR} ]"
svn checkout ${kernel_repo}/${KERNEL_VAR} ${kernel_path}/${KERNEL_VAR} >/dev/null
rm -rf ${kernel_path}/${KERNEL_VAR}/.svn >/dev/null && sync
svn export ${kernel_repo}/${KERNEL_VAR} ${kernel_path}/${KERNEL_VAR} --force
else
echo -e "(${i}) [ ${KERNEL_VAR} ] Kernel is in the local directory."
fi
Expand Down

0 comments on commit c057ae8

Please sign in to comment.