mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
As briefly discussed in #1425, source the `common/functions` file via an absolute path, rather than determining the relative path by using `dirname`. 3rd-party plugins should follow suit and use the new `$PLUGIN_PATH` convention too.
9 lines
175 B
Bash
Executable File
9 lines
175 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_PATH/common/functions"
|
|
source "$(dirname $0)/functions"
|
|
|
|
APP="$1"
|
|
|
|
generate_scale_file $APP
|