[X2Go-Commits] [nx-libs] 01/03: mesa-quilt: ignore user configuration file when applying MESA patches.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 19 11:41:26 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 2c4afb84effbbdf7451ab9de0e1fb891165c834a
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 19 11:32:54 2017 +0100

    mesa-quilt: ignore user configuration file when applying MESA patches.
---
 mesa-quilt | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/mesa-quilt b/mesa-quilt
index 2aec761..d0764c1 100755
--- a/mesa-quilt
+++ b/mesa-quilt
@@ -17,6 +17,8 @@
 # Free Software Foundation, Inc.,
 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 
+set -x
+
 d=. ; while [ ! -d "$d/nx-X11/extras" ] && [ "$(readlink -e "$d")" != "/" ]; do d="$d/.."; done
 
 # only continue, if in nx-libs tree
@@ -36,7 +38,14 @@ if [ -d "$d/nx-X11/extras" ]; then
 
 		cd "$d/nx-X11/extras/Mesa/"
 
-		quilt "$@"
+		# "--quiltrc -" disables reading global or user-local configuration files.
+		# These can override the environment settings if the quiltrc is not
+		# carefully crafted.
+		# For instance, it should set variables only if they aren't already
+		# provided through the environment, but since the quiltrc file is
+		# actually sourced as a shell script, there's no way to assume that
+		# a user's quiltrc is "sane".
+		quilt --quiltrc - "$@"
 
 		cd - 1> /dev/null
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list