Changeset 358 for ssp_aarch64


Ignore:
Timestamp:
Jun 12, 2018, 9:27:54 AM (5 years ago)
Author:
nmir-saito
Message:

作業用ディレクトリが存在しない場合にも動作するよう修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ssp_aarch64/trunk/build_ssp.sh

    r356 r358  
    77
    88if [ ! -v WORK_DIR ]; then
    9   WORK_DIR=$HOME/workdir
     9  # if directory doesn't exist, it will be made
     10  if [ ! -d $HOME/workdir ]; then
     11    echo "$WORK_DIR doesn't exists. working directory 'toppers_workdir' will be made in current directory."
     12    WORK_DIR=$(pwd)/toppers_workdir
     13    mkdir -p $WORK_DIR
     14  else
     15    WORK_DIR=$HOME/workdir
     16  fi
    1017fi
    1118
Note: See TracChangeset for help on using the changeset viewer.