Skip to content

Commit

Permalink
Merge commit '5d7ddfd168a6935d2ec794b453b6a3e61b29fdd1'
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Aug 4, 2023
2 parents 6dc88bd + 5d7ddfd commit 5eabebb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/lib/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ _run() {
}

_additionals() {
local start_home
start_home="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

declare -a additionals
additionals=("$@")

Expand All @@ -200,12 +203,15 @@ _additionals() {
options="${options}y"
fi

"$0" "$options" "${additional[@]}"
"$start_home/start.sh" "$options" "${additional[@]}"
fi
done
}

_dependencies() {
local start_home
start_home="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

declare -a dependencies
dependencies=("$@")

Expand All @@ -225,7 +231,7 @@ _dependencies() {

for dependency in "${dependencies[@]}"; do
read -ra dependency <<<"$dependency"
"$0" "$options" "${dependency[@]}"
"$start_home/start.sh" "$options" "${dependency[@]}"
done
fi
}
Expand Down

0 comments on commit 5eabebb

Please sign in to comment.