Update path to report command.
This commit is contained in:
parent
65ee95c018
commit
d34912a42c
|
@ -3,6 +3,7 @@
|
|||
REDMINE_BASE_URL="https://agir.april.org"
|
||||
API_KEY="4d724eb3e51600b6f9aff26360a5430f76ad4dd9"
|
||||
TICKET_ID=4047
|
||||
REPORT_COMMAND="/usr/local/sbin/display_activity_report"
|
||||
|
||||
main() {
|
||||
post_report
|
||||
|
@ -13,7 +14,7 @@ post_report() {
|
|||
cat <<EOF > "${datafile}"
|
||||
{
|
||||
"issue": {
|
||||
"notes": "$(/usr/local/bin/rapport_activites.sh | sed -z 's/\n/\\n/g')"
|
||||
"notes": "$(${REPORT_COMMAND} | sed -z 's/\n/\\n/g')"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue