Changeset View
Changeset View
Standalone View
Standalone View
branches/stable/l10n-kde4/scripts/checkdocs.sh
1 | #!/bin/bash | 1 | #!/bin/bash | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | OLD_PWD=$PWD | ||||
4 | cd $(dirname $0) | ||||
5 | SCRIPTY_DIR=$PWD | ||||
6 | cd $OLD_PWD | ||||
7 | | ||||
3 | NTHREADS=4 | 8 | NTHREADS=4 | ||
4 | 9 | | |||
5 | . scripts/find_meinproc | 10 | . $SCRIPTY_DIR/find_meinproc | ||
6 | MEINPROC_COMMAND=`find_meinproc` | 11 | MEINPROC_COMMAND=`find_meinproc` | ||
7 | test -z "${MEINPROC_COMMAND}" && echo "No suitable version of meinproc was found. Exiting..." && exit 1 | 12 | test -z "${MEINPROC_COMMAND}" && echo "No suitable version of meinproc was found. Exiting..." && exit 1 | ||
8 | 13 | | |||
Context not available. | |||||
13 | exit 1 | 18 | exit 1 | ||
14 | fi | 19 | fi | ||
15 | 20 | | |||
16 | if [ ! -d scripts ]; then | 21 | # Work in the parent directory of scripts/ | ||
17 | echo "You have to run the script from the parent directory of scripts/" | 22 | cd $SCRIPTY_DIR/.. | ||
18 | exit 1 | | |||
19 | fi | | |||
20 | 23 | | |||
21 | 24 | | |||
22 | if [ "x$DOOCBOOK_LOCATION" = "x" ]; then | 25 | if [ "x$DOOCBOOK_LOCATION" = "x" ]; then | ||
Context not available. |