summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoman Neuhauser <neuhauser@sigpipe.cz>2011-03-28 19:33:24 -0400
committerRoman Neuhauser <neuhauser@sigpipe.cz>2011-03-28 19:33:24 -0400
commit7d9d7898f2042ac668057e6eb84c74d35c3cb996 (patch)
tree39d8ab5c575013fa82033a4c71cd12f91ea023a9 /doc
parentaa4ef729ec997f552f6d722c5314cd0309a0dda5 (diff)
downloadlibarchive-7d9d7898f2042ac668057e6eb84c74d35c3cb996.tar.gz
doc/update.sh does not break on missing output dirs pt.2
SVN-Revision: 3116
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/update.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/update.sh b/doc/update.sh
index b5bb7e4b..9efd6f74 100755
--- a/doc/update.sh
+++ b/doc/update.sh
@@ -65,6 +65,7 @@ echo $all >>Makefile
cd ..
# Build Makefile in 'html' directory
+test -d html || mkdir html
cd html
rm -f *.html
echo > Makefile
@@ -82,6 +83,7 @@ echo $all >>Makefile
cd ..
# Build Makefile in 'wiki' directory
+test -d wiki || mkdir wiki
cd wiki
rm -f *.wiki
echo > Makefile