build-docs: Change to the right directory before calling 'make clean'.
authorKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 21:08:13 +0000 (22:08 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 21:08:13 +0000 (22:08 +0100)
This fixes build-docs if it's called from the create-tarball script.

Karolin

release-scripts/build-docs

index 357b4e9847f84447827140bd0775c5c763b51d28..b80a7fb6f3e16301e892bd48e855b77d5b501ca2 100755 (executable)
@@ -25,7 +25,7 @@ cd ../docs || exit 1
 mv manpages-3 manpages
 mv htmldocs/manpages-3 htmldocs/manpages
 
 mv manpages-3 manpages
 mv htmldocs/manpages-3 htmldocs/manpages
 
-cd $DOCSRCDIR || exit 1
+cd ../docs-xml || exit 1
 make clean
 
 exit
 make clean
 
 exit