Title: Makefile-based scanner creation throws error · Issue #749 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Makefile-based scanner creation throws error · Issue #749 · secureCodeBox/secureCodeBox
X Title: Makefile-based scanner creation throws error · Issue #749 · secureCodeBox/secureCodeBox
Description: 🐞 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...
Open Graph Description: 🐞 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-sc...
X Description: 🐞 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-sc...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/749
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Makefile-based scanner creation throws error","articleBody":"## 🐞 Bug report\r\nWhen using `make create-new-scanner NAME=something` to create a new scanner (as introduced in #706), I get an error.\r\n\r\n### Describe the bug\r\n```bash\r\nmmaass@my-machine SecureCodeBox % make create-new-scanner NAME=openwpm\r\nCopied template files to new directory ./scanners/openwpm\r\nsed: 1: \"./Makefile\": invalid command code .\r\n```\r\n\r\nAs 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.\r\n\r\n### Expected behavior\r\nThe command should run without errors and replace new-scanner with the provided name of the scanner inside the template files.\r\n\r\n### System:\r\nMac OS 11.6, zsh shell.","author":{"url":"https://github.com/malexmave","@type":"Person","name":"malexmave"},"datePublished":"2021-10-21T07:25:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/749/secureCodeBox/issues/749"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8ec24250-c4db-72cd-8216-e53768b4839f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A800:2914A6:2C06DE0:3BC2750:6979C080 |
| html-safe-nonce | 05f12fdc7e45e38241d98f35bd6d503c9c3410c4c51a80c60372029ee1c0dee2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODAwOjI5MTRBNjoyQzA2REUwOjNCQzI3NTA6Njk3OUMwODAiLCJ2aXNpdG9yX2lkIjoiNTE2OTQwNzU4MTA3OTg0NzA0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f91c0928ecae3cb30fbd10ab4f349dc440ec495c344620f1b84d063e06d4ec65 |
| hovercard-subject-tag | issue:1032151224 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/749/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8350805012ae58c2ff8233231f426ccd66542b3441506aaf2dd4acc893c0ab82/secureCodeBox/secureCodeBox/issues/749 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8350805012ae58c2ff8233231f426ccd66542b3441506aaf2dd4acc893c0ab82/secureCodeBox/secureCodeBox/issues/749 |
| og:image:alt | 🐞 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-sc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | malexmave |
| hostname | github.com |
| expected-hostname | github.com |
| None | c049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87b137883e35e2766c3d0f6a257c4044f6390b83 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width