Changeset 8882c04 in rtems-graphics-toolkit


Ignore:
Timestamp:
Oct 17, 2014, 8:17:24 AM (5 years ago)
Author:
Jan Dolezal <dolezj21@…>
Branches:
master
Children:
0b5c029
Parents:
67440a7
git-author:
Jan Dolezal <dolezj21@…> (10/17/14 08:17:24)
git-committer:
Gedare Bloom <gedare@…> (10/19/14 12:55:25)
Message:

do_it: Create build directory and its parents for Nano-X

prevents possible mkdir and cd error when parents of build
directory are missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • do_it

    r67440a7 r8882c04  
    419419{
    420420  if [ ! -d ${BUILDDIR}/${NANOX}/src ] ; then
    421     mkdir ${BUILDDIR}/${NANOX}/src
     421    mkdir -p ${BUILDDIR}/${NANOX}/src
    422422  else
    423423    rm -r ${BUILDDIR}/${NANOX}/src
    424     mkdir ${BUILDDIR}/${NANOX}/src
     424    mkdir -p ${BUILDDIR}/${NANOX}/src
    425425  fi
    426426  cd ${BUILDDIR}/${NANOX}/src
Note: See TracChangeset for help on using the changeset viewer.