Bug #17673

[Weblate] update_tm.sh fails

Added by hefee 2020-05-02 16:33:01 . Updated 2020-05-02 16:33:01 .

Status:
Confirmed
Priority:
Normal
Assignee:
zen
Category:
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Sysadmin
Blueprint:

Starter:
Affected tool:
Translation Platform
Deliverable for:

Description

it fails:

/var/lib/weblate/scripts/update_tm.sh: 10: /var/lib/weblate/scripts/update_tm.sh: build_tmdb: not found

running it as weblate user it runs successfully.

I expect that the $PATH for cron does not contain /usr/local/bin/:

$ whereis build_tmdb
build_tmdb: /usr/local/bin/build_tmdb

I’d suggest to use the absolute path in update_tm.sh, than we are independent of cron’s PATH settings.


Subtasks


History