Commit 28fc1ef6 authored by Mitch Burnett's avatar Mitch Burnett
Browse files

modify install script to accept alternate install prefix from environment

parent aa897fb9
......@@ -24,3 +24,4 @@ autom4te.cache
*.swp
hash/
standalone/
build/
......@@ -8,8 +8,12 @@ else
FLAG_DIR=$1
fi
# Change this to match your destination directory
prefix=/home/groups/flag/hash/
# Set default install location if prefix is not in environment
if [ -z ${prefix+x} ]
then
prefix=/home/groups/flag/hash/
fi
echo "Installing FLAG to ${prefix}"
# Add prefix to PATH
if [[ "$PATH" == ?(*:)"$prefix/bin"?(:*) ]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment