Merge "zsh openrc compatibility"
This commit is contained in:
commit
b96a532455
2
eucarc
2
eucarc
@ -13,7 +13,7 @@ if [[ -n "$2" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Find the other rc files
|
# Find the other rc files
|
||||||
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
|
RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
|
||||||
|
|
||||||
# Get user configuration
|
# Get user configuration
|
||||||
source $RC_DIR/openrc
|
source $RC_DIR/openrc
|
||||||
|
2
openrc
2
openrc
@ -18,7 +18,7 @@ if [[ -n "$2" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Find the other rc files
|
# Find the other rc files
|
||||||
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
|
RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
|
||||||
|
|
||||||
# Import common functions
|
# Import common functions
|
||||||
source $RC_DIR/functions
|
source $RC_DIR/functions
|
||||||
|
2
stackrc
2
stackrc
@ -1,7 +1,7 @@
|
|||||||
# stackrc
|
# stackrc
|
||||||
#
|
#
|
||||||
# Find the other rc files
|
# Find the other rc files
|
||||||
RC_DIR=$(cd $(dirname "$BASH_SOURCE") && pwd)
|
RC_DIR=$(cd $(dirname "${BASH_SOURCE:-$0}") && pwd)
|
||||||
|
|
||||||
# Destination path for installation
|
# Destination path for installation
|
||||||
DEST=/opt/stack
|
DEST=/opt/stack
|
||||||
|
Loading…
Reference in New Issue
Block a user