|
|
|
@ -182,10 +182,16 @@ else
|
|
|
|
|
cp /home/taha/chepec/tmp/$tmpdirname/vc.tex .
|
|
|
|
|
cp /home/taha/chepec/tmp/$tmpdirname/vc-git.awk .
|
|
|
|
|
# Return stuff that may not always exist (check first...)
|
|
|
|
|
# Return *.Rproj file (removal is unnecessary and makes RStudio less useful)
|
|
|
|
|
Rprojfiles=`ls -1 /home/taha/chepec/tmp/$tmpdirname/*.Rproj 2>/dev/null | wc -l`
|
|
|
|
|
if [ $Rprojfiles != 0 ]; then
|
|
|
|
|
cp /home/taha/chepec/tmp/$tmpdirname/*.Rproj .
|
|
|
|
|
fi
|
|
|
|
|
# Return *.rda files (considering peak-data files, which "cost" a lot to create)
|
|
|
|
|
rdafiles=`ls -1 /home/taha/chepec/tmp/$tmpdirname/*.rda 2>/dev/null | wc -l`
|
|
|
|
|
if [ $rdafiles != 0 ]; then
|
|
|
|
|
cp /home/taha/chepec/tmp/$tmpdirname/*.rda .
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "Terminating..."
|
|
|
|
|