Skip to content

fix: mac install script: case conversion is a bash 4.0 feature #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

obs-gh-scottsolmonson
Copy link
Collaborator

modified for POSIX compliance to use tr

Failing:

scott.solmonson@observe ~ % uname -a Darwin observe-MBP.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:12 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6031 arm64

scott.solmonson@observe ~ % curl -Ol "https://raw.githubusercontent.com/observeinc/observe-agent/main/scripts/install_mac.sh" && \ bash install_mac.sh --token=ds1CBLIn4zZg4hH6Bf2E:AKC-llFnNUHKUfpeiU3yL_KgU_IryOpF --observe_url=https://109719173327.collect.observeinc.com/ --logs_enabled=true --metrics_enabled=true % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4516 100 4516 0 0 14145 0 --:--:-- --:--:-- --:--:-- 14156 Downloading latest release from GitHub... Creating system install folders. This may ask for your password... Password: Sorry, try again. Password: Initializing observe-agent.yaml install_mac.sh: line 93: ${LOGS_ENABLED,,}: bad substitution

@obs-gh-mattcotter
Copy link
Collaborator

@obs-gh-scottsolmonson I pushed a commit to make the same change to our linux bash script

@obs-gh-mattcotter obs-gh-mattcotter merged commit a1673a0 into main Jan 2, 2025
8 checks passed
@obs-gh-mattcotter obs-gh-mattcotter deleted the scosol branch January 2, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants