Skip to content
Snippets Groups Projects
Commit 1ad32f5a authored by rds's avatar rds
Browse files

use the correct variable to determine whether to copy the docs to the website

parent 793edfcd
No related branches found
No related tags found
No related merge requests found
......@@ -134,9 +134,7 @@ EXPAT
zmap_message_out "Now copying the whole local webroot to $ZMAP_WEBSITE_TARGET"
zmap_message_out "Running rsync -r $LOCAL_WEBSITE_TARGET/* $WEBUSER@$WEBHOST:$ZMAP_WEBSITE_TARGET/"
PRODUCTION=yes
if [ "x$PRODUCTION" == "xyes" ]; then
if [ "x$ZMAP_MASTER_DOCS2WEB" == "xyes" ]; then
zmap_message_out "Password prompt requires password for $WEBUSER"
export RSYNC_RSH="ssh"
(cat <<EXCLUDE
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment