summaryrefslogtreecommitdiff
blob: 8e16a9551e3411fdfa5c5a6b3723a8cf7e3efea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- bin/installmesa.multilib-fix	2005-12-16 01:46:30.000000000 +0000
+++ bin/installmesa	2005-12-16 01:47:22.000000000 +0000
@@ -9,8 +9,9 @@
 
 TOP=.
 
-INCLUDE_DIR="/usr/local/include"
-LIB_DIR="/usr/local/lib"
+# Default to /usr/local if these aren't already set.
+INCLUDE_DIR="${INCLUDE_DIR:-/usr/local/include}"
+LIB_DIR="${LIB_DIR:-/usr/local/lib}"
 
 if [ "x$#" = "x0" ] ; then
 echo
@@ -40,9 +41,9 @@
 
 read INPUT
 
-else
-INCLUDE_DIR=$1/include
-LIB_DIR=$1/lib
+#else
+#INCLUDE_DIR=$1/include
+#LIB_DIR=$1/lib
 fi
 
 # flags: