| 1 |
#!/bin/sh |
#!/bin/sh |
| 2 |
|
|
| 3 |
|
set -e |
| 4 |
|
|
| 5 |
[ -r ./po_functions ] || exit 1 |
[ -r ./po_functions ] || exit 1 |
| 6 |
. ./po_functions |
. ./po_functions |
| 7 |
|
|
| 44 |
check_po |
check_po |
| 45 |
if [ -n "$USES_PO" ] ; then |
if [ -n "$USES_PO" ] ; then |
| 46 |
generate_xml |
generate_xml |
|
RET=$?; [ $RET -ne 0 ] && continue |
|
| 47 |
fi |
fi |
| 48 |
|
|
| 49 |
for arch in $architectures; do |
for arch in $architectures; do |
| 59 |
if [ "$format" = html ]; then |
if [ "$format" = html ]; then |
| 60 |
mv ./build.out/html/*.html "$destination/$destsuffix" |
mv ./build.out/html/*.html "$destination/$destsuffix" |
| 61 |
else |
else |
| 62 |
mv ./build.out/install.$lang.$format "$destination/$destsuffix" |
# Do not fail because of missing PDF support for Japanese |
| 63 |
|
mv ./build.out/install.$lang.$format "$destination/$destsuffix" || true |
| 64 |
fi |
fi |
| 65 |
done |
done |
| 66 |
|
|
| 68 |
done |
done |
| 69 |
|
|
| 70 |
# Delete generated XML files |
# Delete generated XML files |
| 71 |
[ -n "$USES_PO" ] && rm -r ../$lang |
[ -n "$USES_PO" ] && rm -r ../$lang || true |
| 72 |
done |
done |
| 73 |
|
|
| 74 |
PRESEED="../en/appendix/example-preseed.xml" |
PRESEED="../en/appendix/example-preseed.xml" |