#!/bin/bash if [ "$1" == 'prod' ]; then cd $HOME/website/prod else cd $HOME/website/test fi export DOCUMENT_ROOT=./www exec ./lib/maintain.pl