# setup directories su root mkdir -p /testenv/source mkdir -p /testenv/apps mkdir -p /testenv/data mkdir -p /testenv/startstop mkdir -p /testenv/clients/config mkdir -p /testenv/env # If original path is not set, set it. count=`grep ORIGINAL_PATH ~/.bashrc | wc -l` if [ "$count" = "0" ]; then echo "" >> ~/.bashrc echo "ORIGINAL_PATH=\$PATH" >> ~/.bashrc fi