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

Fix 'Bad substitution' issue #662

Merged
merged 1 commit into from
Jan 27, 2022
Merged

Fix 'Bad substitution' issue #662

merged 1 commit into from
Jan 27, 2022

Conversation

fredmanglis
Copy link
Contributor

In posix shell, string indexing is undefined. This commit replaces the
string indexing with a more portable implementation.

Description

The indexing ${GIT_HASH:0:9} will not work with /bin/sh, therefore I replaced it with a more portable implementation.

Please review and merge

In posix shell, string indexing is undefined. This commit replaces the
string indexing with a more portable implementation.
@BonfaceKilz BonfaceKilz merged commit 627f863 into testing Jan 27, 2022
@BonfaceKilz BonfaceKilz deleted the fix-bad-substitution branch January 27, 2022 12:25
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