build: configure: Handle VAR=VALUE. Update help.
[mes.git] / install.sh
index 1c80a8b87ab2015f9c0ed871a7d179d470b4cc66..b3036ab0c43ca5885e63f8116c65165c14e8d501 100755 (executable)
@@ -2,7 +2,8 @@
 
 set -e
 
-export PREFIX=${PREFIX-/usr/local}
+export PREFIX
+PREFIX=${PREFIX-/usr/local}
 MES_PREFIX=${MES_PREFIX-$PREFIX/share/mes}
 MES_SEED=${MES_SEED-../mes-seed}
 TINYCC_SEED=${TINYCC_SEED-../tinycc-seed}