Skip to content

Commit 6d4b035

Browse files
committed
tools: A small fix for the script to build the docs with
1 parent 38df628 commit 6d4b035

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tools/build/build_docs.sh‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ if [ ! -x "$publican_path" ]; then
4848
exit 1
4949
fi
5050

51+
if [ ! -d "$sourcedir/docs" ]; then
52+
echo "$sourcedir/docs doesn't seem to exist? Maybe set -s?"
53+
exit 1
54+
fi
55+
5156
cd $sourcedir/docs
5257
cp -R /usr/share/publican/Common_Content .
5358
ln -s $sourcedir/docs/publican-cloudstack Common_Content/cloudstack

0 commit comments

Comments
 (0)