After move to /etc/anvil reflect that in the euca generator

This commit is contained in:
Joshua Harlow 2012-08-31 10:27:37 -07:00
parent f819f51b81
commit 5b1880d162

View File

@ -15,11 +15,11 @@ if [[ -n "$2" ]]; then
fi
# Find the other rc files
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
RC_DIR="/etc/anvil"
CORE_RC="install.rc"
EC2_RC="euca.rc"
if [ ! -f $RC_DIR/$CORE_RC ];
if [ ! -f "$RC_DIR/$CORE_RC" ];
then
GEN_CMD="smithy -a install"
echo "File '$RC_DIR/$CORE_RC' needed before running '$ME'"