mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
move etc directory to CFDEM_PROJECT_DIR
This commit is contained in:
25
etc/pullLIGGGHTS.sh
Normal file
25
etc/pullLIGGGHTS.sh
Normal 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
|
||||
Reference in New Issue
Block a user