Skip to content

Commit

Permalink
Merge pull request #74 from mgueury/main
Browse files Browse the repository at this point in the history
LiveLabs user format change
  • Loading branch information
MarcGueury committed Jan 11, 2024
2 parents 4eaae49 + c2a44ad commit ce4987f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion basis/bin/shared_bash_function.sh
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ livelabs_green_button() {
return
fi
# Whoami user format ?
if [[ `whoami` =~ ^ll.*_u.* ]]; then
W=$(whoami)
W=${W^^}
if [[ $W =~ ^LL.*_U.* ]]; then
echo "LiveLabs - Green Button - whoami format detected"
else
return
Expand Down

0 comments on commit ce4987f

Please sign in to comment.