#!/usr/bin/env bash if [ -n "${AWS_ELB_HOME:+x}" ]; then ${AWS_ELB_HOME}/bin/elb-cmd elb-attach-lb-to-subnets "$@" else echo AWS_ELB_HOME is not set exit 1 fi