inaka / inaka/elvis.mk

Plugin uses GNU-specific options with 'cp', 'rm' and 'rmdir'

Open
#17 7 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.