Committed, thanks.

On Fri, Oct 17, 2014 at 4:17 AM, Jan Dolezal <dolez...@fel.cvut.cz> wrote:
> prevents possible mkdir and cd error when parents of build
> directory are missing
> ---
>  do_it | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/do_it b/do_it
> index 616e192..604219e 100755
> --- a/do_it
> +++ b/do_it
> @@ -418,10 +418,10 @@ fi
>  j_nanox()
>  {
>    if [ ! -d ${BUILDDIR}/${NANOX}/src ] ; then
> -    mkdir ${BUILDDIR}/${NANOX}/src
> +    mkdir -p ${BUILDDIR}/${NANOX}/src
>    else
>      rm -r ${BUILDDIR}/${NANOX}/src
> -    mkdir ${BUILDDIR}/${NANOX}/src
> +    mkdir -p ${BUILDDIR}/${NANOX}/src
>    fi
>    cd ${BUILDDIR}/${NANOX}/src
>
> --
> 1.9.1
>
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to