allow all build scripts to be ran outside this dir

this is useful for automation

Reported-by: @Elahi
This commit is contained in:
pedro 2024-02-02 14:36:30 +01:00
parent 6ed7b600da
commit b268099193
6 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,8 @@ set -u
set -x set -x
main() { main() {
cd "$(dirname "${0}")"
./pull-repos.sh ./pull-repos.sh
export action="${action:-deploy}" export action="${action:-deploy}"

View File

@ -6,6 +6,8 @@ set -u
set -x set -x
main() { main() {
cd "$(dirname "${0}")"
# includes functions: # includes functions:
# common_start # common_start
# common_end # common_end

View File

@ -6,6 +6,8 @@ set -u
set -x set -x
main() { main() {
cd "$(dirname "${0}")"
# includes functions: # includes functions:
# common_start # common_start
# common_end # common_end

View File

@ -6,6 +6,8 @@ set -u
set -x set -x
main() { main() {
cd "$(dirname "${0}")"
# includes functions: # includes functions:
# common_start # common_start
# common_end # common_end

View File

@ -6,6 +6,8 @@ set -u
set -x set -x
main() { main() {
cd "$(dirname "${0}")"
# includes functions: # includes functions:
# common_start # common_start
# common_end # common_end

View File

@ -6,6 +6,8 @@ set -u
set -x set -x
main() { main() {
cd "$(dirname "${0}")"
# includes functions: # includes functions:
# common_start # common_start
# common_end # common_end