summaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/provision8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index d1a2cce..268e101 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -121,16 +121,16 @@ if [ ! -z "$1" ]; then
source "$1.conf"
elif [ -f "$HYDRA_FOLDER/config/provision/$1" ]; then
echo "Using configuration from $HYDRA_FOLDER/config/provision/$1..."
- source "$1"
+ source "$HYDRA_FOLDER/config/provision/$1"
elif [ -f "$HYDRA_FOLDER/config/provision/$1.conf" ]; then
echo "Using configuration from $HYDRA_FOLDER/config/provision/$1.conf..."
- source "$1.conf"
+ source "$HYDRA_FOLDER/config/provision/$1.conf"
elif [ -f "$APP_BASE/share/config/provision/$1" ]; then
echo "Using configuration from $APP_BASE/share/config/provision/$1..."
- source "$1"
+ source "$APP_BASE/share/config/provision/$1"
elif [ -f "$APP_BASE/share/config/provision/$1.conf" ]; then
echo "Using configuration from $APP_BASE/share/config/provision/$1.conf..."
- source "$1.conf"
+ source "$APP_BASE/share/config/provision/$1.conf"
else
echo "Profile not found: $1"
exit 1