« Return to Thread: checkdir: cannot create extraction directory

Re: checkdir: cannot create extraction directory

by bh77 :: Rate this Message:

Reply to Author | View in Thread

sorry that should read

# if the target directory does not exist, create it.
if [ ! -d ${TARGET_DIR} ]
then
  echo making target dir
  mkdir ${TARGET_DIR}
fi
unzip -u ${SRC_ZIP} "**/*.jar" -d ${TARGET_DIR}

 « Return to Thread: checkdir: cannot create extraction directory