Skip to content

Commit

Permalink
fix: recursively copy most directories
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Oct 19, 2023
1 parent d4952ee commit 852c79f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@ fi
cp $DIRNAME/carlisle $INSTALL_PATH/

## all config & workflow scripts;
for subdir in config workflow/scripts annotation .test
for subdir in annotation config workflow resources .test
do
mkdir -p ${INSTALL_PATH}/$subdir
cp ${DIRNAME}/$subdir/* ${INSTALL_PATH}/$subdir
cp -r ${DIRNAME}/$subdir/* ${INSTALL_PATH}/$subdir
done
cp ${DIRNAME}/workflow/Snakefile ${INSTALL_PATH}/workflow

## selected resources
mkdir -p ${INSTALL_PATH}/resources/
cp ${DIRNAME}/resources/*.yaml ${INSTALL_PATH}/resources/

# export path
if [[ ":$PATH:" != *":${INSTALL_PATH}:"* ]];then
Expand Down

0 comments on commit 852c79f

Please sign in to comment.