]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Improvement. Only set the install prefix if the enviroment variable is not set.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Tue, 9 Aug 2011 14:06:23 +0000 (14:06 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Tue, 9 Aug 2011 14:06:23 +0000 (14:06 +0000)
git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1384 e59a4935-1847-0410-ae03-e826735625c1

clean-install.sh

index ad2dcb120414943d9c41d6fef998947d95a1f0ff..679b20486b2a6983abe73292a0abdbaf4170e7d8 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
-PREFIX=$HOME
+if [ "$PREFIX" == "" ]; then
+       PREFIX=$HOME
+fi
 
 make configclean
 . scripts/configure