Skip to content

Commit

Permalink
smallstep-wrapper: Fix source path
Browse files Browse the repository at this point in the history
  • Loading branch information
andsens committed May 29, 2024
1 parent 7e8ccf5 commit 65ba3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/step
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env bash
# shellcheck source-path=..

step() {
set -eo pipefail; shopt -s inherit_errexit
local pkgroot; pkgroot=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
local pkgroot; pkgroot=$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")
PATH=$("$pkgroot/.upkg/.bin/path_prepend" "$pkgroot/.upkg/.bin")
# shellcheck disable=SC1091
source "$pkgroot/.upkg/records.sh/records.sh"
Expand Down

0 comments on commit 65ba3a0

Please sign in to comment.