rust/build_pot is again very similar to web/build_pot except for the file finding details, the language, and the (so far implicit) keywords. Use `rust/build_pot --container` on older distros. `web/build_pot_container` is now just a shortcut for `web/build_pot --container`. The inlined container logic relies on a `devel/xgettext/run.sh` helper which calls `build.sh` before running its arguments.
10 lines
186 B
Bash
Executable file
10 lines
186 B
Bash
Executable file
#! /bin/sh
|
|
# Run a program in our xgettext container, building it if necessary.
|
|
# Example: run.sh build_pot agama.pot
|
|
|
|
# path to this script
|
|
DIR="$(dirname "$0")"
|
|
|
|
"$DIR"/build.sh
|
|
|
|
"$@"
|