You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/01/28 11:50:59 UTC
cvs commit: xml-forrest/src/resources/forrestbot/scripts publish_livesite
jefft 2003/01/28 02:50:59
Modified: src/resources/forrestbot/scripts publish_livesite
Log:
Learning the hard way..
Revision Changes Path
1.2 +4 -1 xml-forrest/src/resources/forrestbot/scripts/publish_livesite
Index: publish_livesite
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrestbot/scripts/publish_livesite,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- publish_livesite 19 Jan 2003 05:22:42 -0000 1.1
+++ publish_livesite 28 Jan 2003 10:50:59 -0000 1.2
@@ -22,7 +22,10 @@
exit
fi
LIVECVS=$XML_SITE/targets/$TARGET
-
+if [ ! -d "$LIVECVS" ]; then
+ echo "Expected checked-out xml-site/ HTML in non-existent directory $LIVECVS"
+ exit
+fi
echo "Updating $LIVECVS from $SRC_DIR"
pushd .
cd $LIVECVS