Skip to content

Makefile-based scanner creation throws error #749

@malexmave

Description

@malexmave

🐞 Bug report

When using make create-new-scanner NAME=something to create a new scanner (as introduced in #706), I get an error.

Describe the bug

mmaass@my-machine SecureCodeBox % make create-new-scanner NAME=openwpm
Copied template files to new directory ./scanners/openwpm
sed: 1: "./Makefile": invalid command code .

As far as I can tell, all files are created from the template as planned, but the sed command to replace new-scanner with the scanner name fails.

Expected behavior

The command should run without errors and replace new-scanner with the provided name of the scanner inside the template files.

System:

Mac OS 11.6, zsh shell.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions