This commit is contained in:
poka 2020-06-18 04:33:57 +02:00
parent 6fa84528af
commit f747556c17
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Varialbes
n=1 # Nombre de jours pour les pas en abscisse
n=2 # Nombre de jours pour les pas en abscisse
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
if [[ -e $SCRIPTPATH/.env ]]; then source $SCRIPTPATH/.env; else echo "Veuillez créer votre fichier .env inspiré de .env.example" && exit 1; fi
@ -20,4 +20,4 @@ for i in $rWallets; do
fi
done
sed "s/_JSONDATA/$result/g" tpl/graph.html > $WEBPATH/graph.html
sed "s/_JSONDATA/$result/g" $SCRIPTPATH/tpl/graph.html > $WEBPATH/graph.html