virt-alignment-scan: Add checks for when API calls return NULL.
[libguestfs.git] / podwrapper.sh.in
index c883c6a..967f44c 100755 (executable)
@@ -15,7 +15,7 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 # Wrapper script around POD utilities which can include files in the
 # POD and controls HTML generation.
@@ -180,6 +180,7 @@ if [ -n "$text_output" ]; then
 fi
 
 if [ -n "$html_output" ]; then
+    mkdir -p "$abs_top_builddir/html"
     "$POD2HTML" \
         --css "pod.css" --htmldir "$abs_top_builddir/html" \
         < $tmpdir/full.pod > "$html_output".tmp