0

very simple command in my makefile

something:
    curl "the_verified_url" -O "full_path_to_file"

gives me

curl: (3) URL using bad/illegal format or missing URL Makefile:35: recipe for target 'something' failed make: *** [savetradesdbscheme] Error 3

but running it plainly in the cmd works like a charm. What gives ?

Mofi
  • 46,139
  • 17
  • 80
  • 143
Chapo
  • 2,563
  • 3
  • 30
  • 60
  • Maybe [this question](https://stackoverflow.com/questions/7654386/how-do-i-properly-escape-data-for-a-makefile) will help you. Also please provide [mcve] in your question. – Til Mar 12 '19 at 06:21
  • 1
    Agreed that your example is not sufficient. Given what you've shown there's no way you'll get that error, so obviously what you're really doing is different from what you've shown here in some significant way. Obviously we can't guess what that difference might be. At least look at the command line that make is printing and check it against the command line in your recipe. – MadScientist Mar 12 '19 at 13:08

0 Answers0