diff options
author | David Lechner <david@lechnology.com> | 2020-04-08 15:15:02 -0500 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-13 22:11:36 +1000 |
commit | 1bbc15dd15b232f833b6cc2066bd9ca2b7fe6b66 (patch) | |
tree | 4d07f14ed2426f467d8887cb189d4eb5808ca189 | |
parent | 8470cd0be90de03ba38103db69d134c8915bc114 (diff) | |
download | micropython-1bbc15dd15b232f833b6cc2066bd9ca2b7fe6b66.tar.gz micropython-1bbc15dd15b232f833b6cc2066bd9ca2b7fe6b66.zip |
unix/Makefile: Fix regression using install on non-GNU systems.
This was fixed previously in 31fc81d3b8bb227109777eed02d0021e564fb523 but
regressed in 4af79e76943312bf71be395a71fa80ab39e7c2c2.
Fixes #5885.
-rw-r--r-- | ports/unix/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile index ac67631867..060b3a9842 100644 --- a/ports/unix/Makefile +++ b/ports/unix/Makefile @@ -266,7 +266,8 @@ PREFIX = /usr/local BINDIR = $(DESTDIR)$(PREFIX)/bin install: $(PROG) - install -D $(PROG) $(BINDIR)/$(PROG) + install -d $(BINDIR) + install $(PROG) $(BINDIR)/$(PROG) uninstall: -rm $(BINDIR)/$(PROG) |