diff --git a/apache/actions/load b/apache/actions/load index 92afe4c..476d620 100755 --- a/apache/actions/load +++ b/apache/actions/load @@ -41,7 +41,7 @@ if [ -z "$DOMAIN" ]; then fi -. lib/common +. "$CHARM_PATH"/lib/common set -e diff --git a/postgres/actions/load b/postgres/actions/load index 199b02c..ce43348 100755 --- a/postgres/actions/load +++ b/postgres/actions/load @@ -51,7 +51,7 @@ if [[ "$dbname" == *"@"* ]]; then IFS="@" read user dbname < <(echo "$dbname") fi -. lib/common +. "$CHARM_PATH/lib/common" ## This can work only if ~/.pgpass is correctly created by init.