Skip to content

Commit

Permalink
Merge pull request #344 from dokku/josegonzalez-patch-1
Browse files Browse the repository at this point in the history
fix: set DIR correctly
  • Loading branch information
josegonzalez authored Feb 27, 2025
2 parents 94e4070 + dd8ec32 commit 1daa083
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x

_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export LETSENCRYPT_IMAGE=${LETSENCRYPT_IMAGE:="$(awk -F '[ :]' '{print $2}' "${_DIR}/Dockerfile")"}
export LETSENCRYPT_IMAGE_VERSION=${LETSENCRYPT_IMAGE_VERSION:="$(awk -F '[ :]' '{print $3}' "${_DIR}/Dockerfile")"}

Expand Down

0 comments on commit 1daa083

Please # to comment.