author | Peter D. Barnes, Jr. <barnes26@llnl.gov> |
Wed, 29 May 2013 15:36:21 -0700 | |
changeset 9861 | ef717d771049 |
parent 9859 | a696eebd6991 |
child 9862 | 60cc57165fb6 |
--- a/doc/ns3_html_theme/get_version.sh Wed May 29 14:43:59 2013 -0700 +++ b/doc/ns3_html_theme/get_version.sh Wed May 29 15:36:21 2013 -0700 @@ -201,8 +201,9 @@ # by Sphinx when rebuilding cd doc 2>&1 >/dev/null for d in {manual,models,tutorial{,-pt-br}}/build/{single,}html/_static/ ; do - # expect the copy to fail if the destination dir - # hasn't been created by a prior doc build + if [ ! -d $d ]; then + mkdir -p $d + fi cp ns3_html_theme/static/ns3_version.js $d done cd - 2>&1 >/dev/null