fix path
This commit is contained in:
parent
6fa84528af
commit
f747556c17
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Varialbes
|
# 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 )"
|
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
|
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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
sed "s/_JSONDATA/$result/g" tpl/graph.html > $WEBPATH/graph.html
|
sed "s/_JSONDATA/$result/g" $SCRIPTPATH/tpl/graph.html > $WEBPATH/graph.html
|
||||||
|
|
Loading…
Reference in New Issue