Merge "zsh openrc compatibility"

This commit is contained in:
Jenkins 2013-10-31 14:16:50 +00:00 committed by Gerrit Code Review
commit b96a532455
3 changed files with 3 additions and 3 deletions

2
eucarc
View File

@ -13,7 +13,7 @@ if [[ -n "$2" ]]; then
fi
# Find the other rc files
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
# Get user configuration
source $RC_DIR/openrc

2
openrc
View File

@ -18,7 +18,7 @@ if [[ -n "$2" ]]; then
fi
# Find the other rc files
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
# Import common functions
source $RC_DIR/functions

View File

@ -1,7 +1,7 @@
# stackrc
#
# Find the other rc files
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
# Destination path for installation
DEST=/opt/stack