Changeset View
Changeset View
Standalone View
Standalone View
trunk/l10n-kde4/scripts/posieve_check-tp-kde_results_to_webpage.sh
Context not available. | |||||
2 | # Author: Albert Astals Cid <aacid@kde.org> | 2 | # Author: Albert Astals Cid <aacid@kde.org> | ||
---|---|---|---|---|---|
3 | # License: WTFPL 2 - http://sam.zoy.org/wtfpl/ | 3 | # License: WTFPL 2 - http://sam.zoy.org/wtfpl/ | ||
4 | 4 | | |||
5 | if [ ! -d scripts ]; then | 5 | OLD_PWD=$PWD | ||
6 | echo "You have to run the script from the parent directory of scripts/" | 6 | cd $(dirname $0) | ||
7 | exit | 7 | SCRIPTY_DIR=$PWD | ||
8 | fi | 8 | cd $OLD_PWD | ||
9 | 9 | | |||
10 | # Work in the parent directory of scripts/ | ||||
11 | cd $SCRIPTY_DIR/.. | ||||
12 | | ||||
10 | if test "$1" = "--posievepath"; then | 13 | if test "$1" = "--posievepath"; then | ||
11 | POSIEVEPATH=$2 | 14 | POSIEVEPATH=$2 | ||
12 | fi | 15 | fi | ||
Context not available. |