You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 29, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: include/deployer.bash
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -271,11 +271,16 @@ start-time-init() {
271
271
272
272
init-profile() {
273
273
declare desc="Creates Profile if missing"
274
-
274
+
275
275
if [ -f$CBD_PROFILE ];then
276
276
debug "Use existing profile: $CBD_PROFILE"
277
277
if [[ "$CBD_PROFILE"!=*\/* ]];then
278
-
debug "$CBD_PROFILE file will be searched in your $PATH not just the current directory"
278
+
PROFILES_ON_PATH="$(find $(echo $PATH| sed 's/:/ /g') -name 'Profile' -maxdepth 1 2>/dev/null | sort -u)"||true# for some reason I have to or true this
279
+
if [[ -n$PROFILES_ON_PATH ]];then
280
+
warn "Multiple Profiles found on your path will be used, this might not be desirable."
0 commit comments