rageworx / killall

POSIX killall emulation for MSYS2 (w/ MinGW-W64)
MIT License
0 stars 0 forks source link

Installs into wrong name if target path does not exist #3

Open Mr-Dispatch opened 1 year ago

Mr-Dispatch commented 1 year ago

Hi, on my install, there was no bin/ in /usr/local/. So make install thought about it, and came up with a brilliant idea: how about I create bin.exe in /usr/local/ 😄

Delete, create dir, make install => works.

Thanks for the tool, silent & deadly, as you'd expect 👍

rageworx commented 1 year ago

Hi, on my install, there was no bin/ in /usr/local/.

So make install thought about it, and came up with a brilliant idea: how about I create bin.exe in /usr/local/ 😄

Thank you for idea for new position. But we need to know some rules for modern POSIX, user side built binary need to put to /user/local or /usr/share basically. You can change installing destination path in Makefile in your cloned repository 😀

Can I ask your current system ? I didn't thought non /usr/local. What kind of OS, or subsystem do you using ?

Regards, Raph.

Mr-Dispatch commented 1 year ago

Someone didn't get my slight joke, badly.

I'm on windows, under MSYS2/Mingw64, there was /usr/local but no bin dir in it, so make install failed in slightly hilarious way -> created bin.exe in /usr/local.

EDIT: After creating the bin dir, it worked as expected.

rageworx commented 1 year ago

Anyway, I will consider checking base sub-system script as like configure.