Skip to content
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

Support older bash versions #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Support older bash versions #109

wants to merge 1 commit into from

Conversation

tinvaan
Copy link

@tinvaan tinvaan commented Jan 19, 2025

Looks like the ^^ parameter expansion is not supported in earlier versions of bash, resulting in a failure when running the generate-client command.

harish at busybox in ~/Workspaces/oss/pulp/oci_env on setup/osx
(pulpcore) ± bash --version
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24)
Copyright (C) 2007 Free Software Foundation, Inc.

harish at busybox in ~/Workspaces/oss/pulp/oci_env on setup/osx
(pulpcore) ± oci-env generate-client -i
2025-01-19 22:39:17,260 - INFO - utils.py:17 - USING OCI_ENV_PATH FROM ENV: /Users/harish/Workspaces/oss/pulp/oci_env
2025-01-19 22:39:17,260 - INFO - utils.py:17 - USING OCI_ENV_PATH FROM ENV: /Users/harish/Workspaces/oss/pulp/oci_env
2025-01-19 22:39:17,260 - INFO - utils.py:17 - USING OCI_ENV_PATH FROM ENV: /Users/harish/Workspaces/oss/pulp/oci_env
Generating python-client for pulpcore.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1017k  100 1017k    0     0  2007k      0 --:--:-- --:--:-- --:--:-- 2006k
::group::BINDINGS
./gen-client.sh: line 57: OPENAPI_${LANGUAGE^^}_IMAGE: bad substitution

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.

1 participant