Cosmetic changes, should improve UX a little

master
Taha Ahmed 6 years ago
parent 1d0d8f3950
commit 93fbb4586f

@ -69,9 +69,9 @@ if [ $# -eq 1 ]; then
#### Special treatment for sample-matrix.Rnw
# If $jobname is sample-matrix, restart Shiny and term this script
if [[ $jobname == "sample-matrix" ]]; then
echo "<cheRTeX> -------------------------------"
echo "<cheRTeX> sample-matrix: restarting Shiny"
echo "<cheRTeX> -------------------------------"
echo "<sample-matrix> -------------------------------"
echo "<sample-matrix> Restarting Shiny"
echo "<sample-matrix> -------------------------------"
# kill Shiny
pkill -f "shiny::runApp"
@ -86,9 +86,9 @@ if [ $# -eq 1 ]; then
#### Special treatment for thesis
# If $jobname is thesis, fetch some external assets
if [[ ${PWD} == "/media/bay/taha/chepec/thesis" && $jobname == "thesis" ]]; then
echo "<cheRTeX> -------------------------------"
echo "<cheRTeX> THESIS: getting external assets"
echo "<cheRTeX> -------------------------------"
echo "<thesis> -------------------------------"
echo "<thesis> Getting external assets"
echo "<thesis> -------------------------------"
# summary of operations in this if-clause:
# trawl the assets/ subdirectories looking for a file "external.assets", if found,
# read its contents line-by-line (each line is a path) and copy that file to the current assets/ subdir

Loading…
Cancel
Save