trotFunky
dadac7c1ec
Modification de l'auto-config pour que ce soit pas trop chiant avec le match complet
13 lines
No EOL
560 B
Bash
Executable file
13 lines
No EOL
560 B
Bash
Executable file
#! /bin/bash
|
|
|
|
x-term -e "~/Documents/TechTheTown-HighLevel/config/auto_config.sh"
|
|
|
|
couleur=$(grep $configFile -e "^COULEUR" | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 2)
|
|
|
|
if [ couleur = "orange" ]; then
|
|
xterm -e "python ~/Documents/TechTheTown-HighLevel/src/patternRecognition/setPatternPosition/SetPatternPositionOrange.py;exit"
|
|
else
|
|
xterm -e "python ~/Documents/TechTheTown-HighLevel/src/patternRecognition/setPatternPosition/SetPatternPositionGreen.py;exit"
|
|
fi
|
|
|
|
xterm -e "cd ~/Documents/TechTheTown-HighLevel; java -jar techthetown-highlevel.jar;cd - " |