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

Remove bashism in etc/pam_script #10

Merged
merged 1 commit into from Jul 20, 2018

Conversation

alt36
Copy link
Contributor

@alt36 alt36 commented Feb 20, 2018

${foo:n:m} is bash-specific, so fails when /bin/sh is e.g. dash, as is usual
on Debian/Ubuntu systems. The script already assumes /usr/bin/cut available
so lets use that to extract world_write_bit from stat_output

${foo:n:m} is bash-specific, so fails when /bin/sh is e.g. dash, as is usual
on Debian/Ubuntu systems. The script already assumes /usr/bin/cut available
so lets use that to extract world_write_bit from stat_output
@jeroennijhof jeroennijhof merged commit 2c8502f into jeroennijhof:master Jul 20, 2018
@jeroennijhof
Copy link
Owner

Thanks!

@alt36 alt36 deleted the remove_bashism branch July 29, 2018 13:48
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.

None yet

2 participants