SRC_PWD needs to be set before TRIM.

Originally committed to SVN as r3553.
This commit is contained in:
Amar Takhar 2009-09-26 08:57:26 +00:00
parent ad1a11b5a0
commit 9df3ce3cee
1 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,8 @@ if test -z "$1" || test -z "$2"; then
exit; exit;
fi fi
SRC_PWD=`pwd|sed "s|/docs/doxygen||"`
case "$1" in case "$1" in
"aegisub") "aegisub")
TRIM="${SRC_PWD}/src/" TRIM="${SRC_PWD}/src/"
@ -20,10 +22,8 @@ esac
export OUTPUT_DIR="$2" export OUTPUT_DIR="$2"
export SRC_TRIM="${TRIM}" export SRC_TRIM="${TRIM}"
mkdir -vp "$2" mkdir -vp "$2"
cp -v css.css "$2" cp -v css.css "$2"
SRC_PWD=`pwd|sed "s|/docs/doxygen||"`
doxygen "doxyfile_$1" doxygen "doxyfile_$1"