Skip to content

Commit

Permalink
build.sh: Use ${BASH_SOURCE[0]} as root instead of cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
gonX committed Oct 2, 2023
1 parent 6c4ffac commit f08cb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ while [ $# -gt 0 ]; do
done

# provide defaults, then pass everything else as-is
. ./eng/linux/package.sh -o "${output}" -c "${config}" "${options[@]}"
. "$(dirname ${BASH_SOURCE[0]})"/eng/linux/package.sh -o "${output}" -c "${config}" "${options[@]}"

0 comments on commit f08cb62

Please sign in to comment.