create download directory if it doesn't exist
author"Fr?d?ric Leroy <fredo@starox.org>"
Fri Mar 30 13:38:20 2007 +0200 (12 years ago)
changeset 3a6edb0ee3dd2
parent 27f239f8e0b08
child 41e8d83dfb76d
create download directory if it doesn't exist
9tel-board1.sh
     1.1 --- a/9tel-board1.sh	Tue Mar 27 15:20:53 2007 +0200
     1.2 +++ b/9tel-board1.sh	Fri Mar 30 13:38:20 2007 +0200
     1.3 @@ -7,6 +7,10 @@
     1.4    TARBALLS_DIR=$HOME/downloads
     1.5  fi
     1.6  
     1.7 +if [ ! -d "$TARBALLS_DIR" ]; then
     1.8 +  mkdir -p ${TARBALLS_DIR}
     1.9 +fi
    1.10 +
    1.11  if [ -z "$RESULT_TOP" ]; then
    1.12    RESULT_TOP=$HOME/crosstool
    1.13  fi