From fe68e96c44a6e5343382341ba79b88a3b4a81b0d Mon Sep 17 00:00:00 2001
From: Orestis Malaspinas <orestis.malaspinas@hesge.ch>
Date: Tue, 2 Apr 2019 10:50:51 +0200
Subject: [PATCH] added betterexport

---
 export.sh | 4 +++-
 index.md  | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/export.sh b/export.sh
index 2ad39a0..efb901b 100755
--- a/export.sh
+++ b/export.sh
@@ -4,9 +4,10 @@ if [ -z ${RUST_CLASS_ROOT+x} ]; then echo "RUST_CLASS_ROOT is unset"; else echo
 if [ -z ${SL_CLASS_ROOT+x} ]; then echo "SL_CLASS_ROOT is unset"; else echo "var is set to '$SL_CLASS_ROOT'"; fi
 if [ -z ${MTI_CLASS_ROOT+x} ]; then echo "MTI_CLASS_ROOT is unset"; else echo "var is set to '$MTI_CLASS_ROOT'"; fi
 if [ -z ${RUST_EXERCICES_ROOT+x} ]; then echo "RUST_EXERCICES_ROOT is unset"; else echo "var is set to '$RUST_EXERCICES_ROOT'"; fi
+if [ -z ${CONC_ROOT+x} ]; then echo "CONC_ROOT is unset"; else echo "var is set to '$CONC_ROOT'"; fi
 
 ## declare classes directories
-declare -a arr=("$RUST_CLASS_ROOT" "$SL_CLASS_ROOT" "$MTI_CLASS_ROOT" "$RUST_EXERCICES_ROOT" "$(pwd)")
+declare -a arr=("$RUST_CLASS_ROOT" "$SL_CLASS_ROOT" "$MTI_CLASS_ROOT" "$RUST_EXERCICES_ROOT" "$CONC_ROOT" "$(pwd)")
 
 ## now loop through the above array
 for i in "${arr[@]}"
@@ -24,6 +25,7 @@ rsync -avz index.html malaspinas@129.194.185.180:/www/
 rsync -avz $RUST_CLASS_ROOT/prog_seq malaspinas@129.194.185.180:/www/
 rsync -avz $SL_CLASS_ROOT/sol malaspinas@129.194.185.180:/www/
 rsync -avz $MTI_CLASS_ROOT/mti malaspinas@129.194.185.180:/www/
+rsync -avz $CONC_ROOT/concurrence malaspinas@129.194.185.180:/www/
 
 # docker stop rustclass
 # docker build -t rustclasscont .
diff --git a/index.md b/index.md
index 395cbad..d909b9e 100644
--- a/index.md
+++ b/index.md
@@ -41,6 +41,7 @@ corrige: false
 # Cours de deuxième année
 
 ## [Mathématiques en technologie de l'information](mti/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/math_tech_info), [pdf](mti/cours.pdf)
+## [Programmation concurrente](concurrence/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/cours_prog_conc)
 ## [Sciences en orientation logicielle](sol/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/sci_log), [pdf](sol/cours.pdf)
 ### [Sciences en orientation logicielle: Travaux pratiques](sol/tp/index.html)
 
-- 
GitLab