com web/doc: Added the "other" phpdoc-all/ directory on euk2. It might fix our issue on doc.php.net where builds are using an old svn copy.:
scripts/populatedocs.sh
| From: | Philip Olson | Date: | Wed, 14 Nov 2018 22:20:32 +0000 |
| Subject: | com web/doc: Added the "other" phpdoc-all/ directory on euk2. It might fix our issue on doc.php.net where builds are using an old svn copy.: scripts/populatedocs.sh |
||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2442@lists.php.net to get a copy of this message | ||
Commit: ed9b2a564366d6badbd3afab79217ed20d14d46e
Author: Philip Olson <philip@roshambo.org> Wed, 14 Nov 2018 14:20:32 -0800
Parents: bbf6bb4558724f3a31734fa98a03dacace698f14
Branches: master
Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=ed9b2a564366d6badbd3afab79217ed20d14d46e
Log:
Added the "other" phpdoc-all/ directory on euk2.
It might fix our issue on doc.php.net where builds are using an old svn copy.
Changed paths:
M scripts/populatedocs.sh
Diff:
diff --git a/scripts/populatedocs.sh b/scripts/populatedocs.sh
index 172948f..8281769 100755
--- a/scripts/populatedocs.sh
+++ b/scripts/populatedocs.sh
@@ -39,5 +39,23 @@ else
${SVNBIN} co http://svn.php.net/repository/phpdoc/modules/doc-all
${DOCDIR}
fi
+OTHERSVNDIR="/local/src/docweb/svn/phpdoc-all"
+
+if [ ! -d ${OTHERSVNDIR} ]
+then
+ echo "Making SVN directory: ${OTHERSVNDIR}"
+ /bin/mkdir ${OTHERSVNDIR}
+fi
+
+echo "Changing to the other SVN directory: ${OTHERSVNDIR}"
+cd ${OTHERSVNDIR}
+echo "Checking out PHP docs... the other copy..."
+if [ -d ${DOCDIR} ]
+then
+ (cd ${DOCDIR} && ${SVNBIN} up)
+else
+ ${SVNBIN} co http://svn.php.net/repository/phpdoc/modules/doc-all
${DOCDIR}
+fi
+
echo -n "Reverting directory:"
-popd
+popd
\ No newline at end of file