#973 closed Defect (fixed)
build_po_boinc.php not working, conflicting directories
Reported by: | Nicolas | Owned by: | davea |
---|---|---|---|
Priority: | Minor | Milestone: | Undetermined |
Component: | Server - Other | Version: | |
Keywords: | Cc: |
Description
The instructions for build_po_boinc.php
say I should run it from boinc/html
. However, it has require_once("../inc/util_ops.inc");
, which implies it has to be run from boinc/html/ops
.
- If I run it from
boinc/html
, I get an error because../inc/util_ops.inc
doesn't exist. - If I run it from
boinc/html/ops
, I get an error becauseutil.inc
tries to include../project/project.inc
(which only exists on an installed project, not on a BOINC SVN working copy). - If I run it from
html/ops
on an installed project, I get an error fromxgettext
sayinginc/*.inc
doesn't exist.
I worked around this by just removing the require_once
line, since it seems to be there just to prevent running the script via the web.
Change History (2)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
I'm making more strings translatable. I need to run the script to test my changes :)
At one point I had done something inside the tra() arguments that didn't get parsed by xgettext!
This script only needs to be run by me. But it was indeed broken, and hadn't been run for a long time (generic project translation template was out of date).