]> source.dussan.org Git - tigervnc.git/commitdiff
Allow PREFIX to be overridden
authorDRC <dcommander@users.sourceforge.net>
Thu, 19 Mar 2009 23:13:50 +0000 (23:13 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 19 Mar 2009 23:13:50 +0000 (23:13 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3693 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/build-xorg-7.4

index 4c0c57da37fb981ef34c2f61ddee2b1917f32ad8..6f906610305a97aa6fd2470ef3c689ef257c9a64 100755 (executable)
@@ -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"