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

Array against POSIX #139

Open
francescobianco opened this issue Feb 9, 2022 · 2 comments
Open

Array against POSIX #139

francescobianco opened this issue Feb 9, 2022 · 2 comments
Assignees

Comments

@francescobianco
Copy link
Member

Actually, the BPKG_REMOTES variable around the project is used as Array, this is hard to convert into POSIX compliant solution due to missing of good array management into shells like Dash or any other POSIX-sh.

To work it around we can use a comma ',' separated list into a standard string variable

define -a BPKG_REMOTES
BPKG_REMOTES=(a b c) 

become

BPKG_REMOTES=a,b,c

What is your opinion about it?
After my last revision of install.sh this seems the major blocker to convert the entire file into POSIX compliant

@Potherca
Copy link
Member

I'm for it. 👍

@jwerle
Copy link
Member

jwerle commented Feb 10, 2022

same here 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants