You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2020/12/22 14:09:00 UTC

[openoffice] branch AOO42X updated: Check that the INPATH variable is set before using it (#113)

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

jim pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 3c190ed  Check that the INPATH variable is set before using it (#113)
3c190ed is described below

commit 3c190ed58732c60feb4a84f9939c0b92fbed56e9
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Tue Dec 22 14:09:34 2020 +0100

    Check that the INPATH variable is set before using it (#113)
    
    (cherry picked from commit 3fe339952452e2d3477a993a2809c09f4b560414)
---
 main/makefile.rc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/makefile.rc b/main/makefile.rc
index 0688e27..3833128 100644
--- a/main/makefile.rc
+++ b/main/makefile.rc
@@ -59,6 +59,7 @@ distclean .PHONY: clean
 
 
 clean .PHONY:
+	@test -n "$(INPATH)" || (echo Build environment not set; exit 1)
 	-rm -rf */$(INPATH)
 	-rm -rf solver/*/$(INPATH)
 .IF "$(ADDITIONAL_REPOSITORIES)"!=""