Prevent cleardoublepage in scrbook between chapters

For a new term paper i want to try out a template of our university which is based on scrbook. However, my first chapter is to short (1/2 page) that the second chapter follows after a \cleardoublepage (it looks like this) but that is not what i want it to do. I would appreciate if is just puts the second chapter right after the first one. Any idea how i can achieve this?

Solutions Collecting From Web of "Prevent cleardoublepage in scrbook between chapters"

make \cleardoublepage temporarely to \relax

\documentclass{scrbook}
\def\SpecialChap#1{{\let\cleardoublepage\relax\chapter{#1}}}
\begin{document}
\tableofcontents
\chapter{foo}
\SpecialChap{bar}% no \cleardoublepage
\chapter{baz}

\end{document}

If you want it also for starred chapters, then use:

\documentclass{scrbook}
\makeatletter
\def\SpecialChap{\@ifnextchar*\SpecialChap@i\SpecialChap@ii}
\def\SpecialChap@i*#1{{\let\cleardoublepage\relax\chapter*{#1}}}
\def\SpecialChap@ii{\@ifnextchar[\SpecialChap@iii\SpecialChap@iv}
\def\SpecialChap@iii[#1]#2{{\let\cleardoublepage\relax\chapter[#1]{#2}}}
\def\SpecialChap@iv#1{{\let\cleardoublepage\relax\chapter{#1}}}
\makeatletter
\begin{document}
    \tableofcontents
    \chapter{foo}
    \SpecialChap{bar}% no \cleardoublepage
    \chapter{baz}
    \SpecialChap*{foobar}% no \cleardoublepage

\end{document}

It now also allows \SpecialChap[foo]{bar}