This is an automated email from the ASF dual-hosted git repository.

gaul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds-site.git

commit 02927dc5a730f71e19a11d8e96597d4937dc1bed
Author: Fritz Elfert <[email protected]>
AuthorDate: Mon Feb 10 19:17:20 2025 -0800

    Fix deploy-javadoc.sh
---
 deploy-javadoc.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/deploy-javadoc.sh b/deploy-javadoc.sh
index c69ae15..b9a7804 100755
--- a/deploy-javadoc.sh
+++ b/deploy-javadoc.sh
@@ -20,6 +20,8 @@ fi
 JCLOUDS_VERSION=$1
 JCLOUDS_VERSION_X=`echo $JCLOUDS_VERSION | cut -c 1-3 | awk '{print $1".x"}'`
 
+TMPDIR="$PWD/tmp"
+mkdir $TMPDIR
 cd $TMPDIR
 
 for name in jclouds; do
@@ -39,7 +41,7 @@ if [ ! -d "site-content" ]; then
 else
   svn up site-content
 fi
-cd $DIR/site-content
+cd site-content
 
 mkdir -p reference/javadoc/$JCLOUDS_VERSION_X/
 rsync -r --ignore-times $TMPDIR/jclouds/target/site/apidocs/ 
reference/javadoc/$JCLOUDS_VERSION_X/

Reply via email to