Skip to content

Commit

Permalink
Merge pull request #31943 from gastaldi/docs_fix
Browse files Browse the repository at this point in the history
Check if directory exists in `sync-web-site.sh`
  • Loading branch information
gsmet authored Mar 17, 2023
2 parents e104e83 + e71fa26 commit d08d31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sync-web-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ rsync -vr --delete \
target/asciidoc/sources/ \
$TARGET_GUIDES

if [ -f ../target/asciidoc/generated/ ]; then
if [ -d ../target/asciidoc/generated/ ]; then
echo
echo "Copying from ../target/asciidoc/generated/ to $TARGET_CONFIG"
echo
Expand Down

0 comments on commit d08d31f

Please sign in to comment.