--- freem/scripts/fmd-docupdate 2025/04/06 03:38:05 1.2 +++ freem/scripts/fmd-docupdate 2025/05/05 12:38:11 1.3 @@ -1,7 +1,7 @@ #!/usr/bin/env bash # -# $Id: fmd-docupdate,v 1.2 2025/04/06 03:38:05 snw Exp $ +# $Id: fmd-docupdate,v 1.3 2025/05/05 12:38:11 snw Exp $ # Upload the current documentation to the FreeM website # # @@ -26,6 +26,9 @@ # along with FreeM. If not, see . # # $Log: fmd-docupdate,v $ +# Revision 1.3 2025/05/05 12:38:11 snw +# Make fmd docupdate work when directory already exists +# # Revision 1.2 2025/04/06 03:38:05 snw # Prepare for adding packaging functionality to fmd # @@ -79,7 +82,7 @@ cd doc/ DOCDIR="//var/www/freem.coherent-logic.com/docs/${NEWVER}/" -ssh "${SSHCRED}" "mkdir ${DOCDIR}" +ssh "${SSHCRED}" "mkdir -p ${DOCDIR}" if [[ $? != 0 ]] then echo "${PGM}: error creating remote directory"