You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ja...@apache.org on 2021/06/30 06:04:29 UTC

[systemds] branch master updated: [MINOR] Fallback for the situation where build folder doesn't exist

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

janardhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c6fbf3  [MINOR] Fallback for the situation where build folder doesn't exist
9c6fbf3 is described below

commit 9c6fbf381f48c9cee6b016f2933f0937e56cc0bc
Author: Janardhan Pulivarthi <j1...@protonmail.com>
AuthorDate: Wed Jun 30 11:34:19 2021 +0530

    [MINOR] Fallback for the situation where build folder doesn't exist
    
    `rm` docs:
    
    https://man7.org/linux/man-pages/man1/rm.1.html#:~:text=--force
    
    -f, --force
                  ignore nonexistent files and arguments, never prompt
---
 docs/updateAPI.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/updateAPI.sh b/docs/updateAPI.sh
index 5ae9671..8e0bd23 100755
--- a/docs/updateAPI.sh
+++ b/docs/updateAPI.sh
@@ -39,7 +39,7 @@ else
     rm -r api/python
     mkdir api/python
     cd ../src/main/python/docs
-    rm -r build
+    rm -f -r build
     make html
     cd ../../../../
     cp -r src/main/python/docs/build/html/* docs/api/python