From 97d8c015e5cc530eb9bf3fd181fd6837590194d9 Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 19 Mar 2009 23:13:50 +0000 Subject: [PATCH] Allow PREFIX to be overridden git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3693 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/build-xorg-7.4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unix/build-xorg-7.4 b/unix/build-xorg-7.4 index 4c0c57da..6f906610 100755 --- a/unix/build-xorg-7.4 +++ b/unix/build-xorg-7.4 @@ -6,7 +6,9 @@ set -e -PREFIX="/tmp/xorg-7.4-${USER}" +if [ "$PREFIX" = "" ]; then + PREFIX="/tmp/xorg-7.4-${USER}" +fi export ACLOCAL="aclocal -I ${PREFIX}/share/aclocal" export PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig" MAKE="make" -- 2.39.5