move etc directory to CFDEM_PROJECT_DIR

This commit is contained in:
danielque
2017-05-02 16:49:22 +02:00
parent f0e1cbc94d
commit 57a929dce2
24 changed files with 0 additions and 0 deletions

25
etc/pullLIGGGHTS.sh Normal file
View File

@ -0,0 +1,25 @@
#!/bin/bash
#===================================================================#
# pull routine for LIGGGHTS, part of CFDEMproject
# Christoph Goniva - August. 2013, DCS Computing GmbH
#===================================================================
#- include functions
source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh
NOW="$(date +"%Y-%m-%d-%H:%M")"
logDir="log"
cd $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc
mkdir -p $logDir
#--------------------------------------------------------------------------------#
#- define variables
logpath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")/$logDir"
logfileName="log_pullLIGGGHTS"
casePath="$CFDEM_LIGGGHTS_SRC_DIR"
headerText="$logfileName""-$NOW"
#--------------------------------------------------------------------------------#
pullRepo $logpath $logfileName $casePath $headerText