Fix update-doxygen (again)
authorborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 26 Sep 2012 16:25:22 +0000 (16:25 +0000)
committerborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 26 Sep 2012 16:25:22 +0000 (16:25 +0000)
Bash trickery to find the script directory did not work, but we can just use
"trunk/tools" since trunk gets checked out into $DOXYGEN_TEMPDIR.
Review URL: https://codereview.appspot.com/6573055

git-svn-id: http://skia.googlecode.com/svn/trunk@5696 2bbb7eff-a529-9590-31e7-b0007b416f81

tools/update-doxygen.sh

index f573fd7..5351659 100755 (executable)
@@ -31,8 +31,7 @@ if [ -d "docs" ]; then
 else
   svn checkout https://skia-autogen.googlecode.com/svn/docs  # writeable
 if [ ! -f "docs/static_footer.txt" ]; then
-  TOOLS_DIR="$(cd "$(dirname "$0" )" && pwd )"
-  cp ${TOOLS_DIR}/doxygen_footer.txt docs/static_footer.txt
+  cp trunk/tools/doxygen_footer.txt docs/static_footer.txt
 fi
 fi