Commit bf5016a8 authored by Joshua Tauberer's avatar Joshua Tauberer

bootstrap.sh: allow overring the tag to checkout by setting the TAG...

bootstrap.sh: allow overring the tag to checkout by setting the TAG environment variable (helpful for debugging)
parent faf6f87a
......@@ -6,7 +6,9 @@
#
#########################################################
TAG=14.08-beta
if [ -z "$TAG" ]; then
TAG=14.08-beta
fi
# Are we running as root?
if [[ $EUID -ne 0 ]]; then
......@@ -27,7 +29,7 @@ if [ ! -d mailinabox ]; then
# If it does exist, update it.
else
echo Updating Mail-in-a-Box . . .
echo Updating Mail-in-a-Box to $TAG . . .
cd mailinabox
git fetch
if ! git checkout -q $TAG; then
......
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