From 5b1880d16207ef1e8f3f57814144c20cb446923f Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 31 Aug 2012 10:27:37 -0700 Subject: [PATCH] After move to /etc/anvil reflect that in the euca generator --- euca.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/euca.sh b/euca.sh index 391ed891..a3c748c8 100755 --- a/euca.sh +++ b/euca.sh @@ -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'"