#!/bin/bash cd ./scripts && ./setup.sh $@ cd - >/dev/null USER_IMPORT_TMP_FOLDER="importTmpFolder" DESTIONATION_FULL="./site/tmp/$USER_IMPORT_TMP_FOLDER" if [ -d "$DESTIONATION_FULL" ] ; then rm -rf $DESTIONATION_FULL fi if [ ! -d "$DESTIONATION_FULL" ] ; then mkdir -p $DESTIONATION_FULL chmod 777 $DESTIONATION_FULL fi