aircrack-ng / mdk4

MDK4
GNU General Public License v3.0
642 stars 114 forks source link

commit https://github.com/aircrack-ng/mdk4/commit/f807cdca59e550482dc354b4129406004819eac8 breaks destdir #82

Open ZeroChaos- opened 2 years ago

ZeroChaos- commented 2 years ago

Why did you revert half my changes immediately after the merge??

https://github.com/aircrack-ng/mdk4/commit/f807cdca59e550482dc354b4129406004819eac8

make -C src install
make[1]: Entering directory '/var/tmp/portage/net-wireless/mdk4-4.2_p20220117/work/mdk4-f807cdca59e550482dc354b4129406004819eac8/src'
make -C osdep
make[2]: Entering directory '/var/tmp/portage/net-wireless/mdk4-4.2_p20220117/work/mdk4-f807cdca59e550482dc354b4129406004819eac8/src/osdep'
Building for Linux
make[3]: Entering directory '/var/tmp/portage/net-wireless/mdk4-4.2_p20220117/work/mdk4-f807cdca59e550482dc354b4129406004819eac8/src/osdep'
make[3]: '.os.Linux' is up to date.
make[3]: Leaving directory '/var/tmp/portage/net-wireless/mdk4-4.2_p20220117/work/mdk4-f807cdca59e550482dc354b4129406004819eac8/src/osdep'
make[2]: Leaving directory '/var/tmp/portage/net-wireless/mdk4-4.2_p20220117/work/mdk4-f807cdca59e550482dc354b4129406004819eac8/src/osdep'
install -D -m 0755 mdk4 /usr/sbin/mdk4
 * ACCESS DENIED:  unlink:       /usr/sbin/mdk4
/usr/bin/install: cannot remove '/usr/sbin/mdk4': Permission denied

Now it doesn't respect destdir anymore :-(