Plugin uses GNU-specific options with 'cp', 'rm' and 'rmdir'
Open
Nobody has claimed this yet.
hacktoberfest
- Dominant language
- Shell
- Stars
- 5
- Forks
- 6
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
This means that it fails on macOS unless you have GNU cp/rm/rmdir ahead of the BSD ones in $PATH. For example:
cp: illegal option -- -
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-aclpsvXx] source_file ... target_directory
make: *** [foo/deps/elvis_mk/plugins.mk:39: foo/elvis] Error 64
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting foo/deps/elvis_mk/plugins.mk around line 39 and search the plugin for cp, rm, and rmdir invocations. Verify the commands use options supported by macOS BSD utilities, then run the plugin's make target on macOS; done means it no longer requires GNU versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100