From bded7901c56ffab43d98a6fd4488532ceddc3991 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 1 Jul 2017 12:13:44 +0200 Subject: Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as $(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.) --- src/Main/Main.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Main/Main.make b/src/Main/Main.make index 1fb7b478..0c71479b 100755 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -221,7 +221,7 @@ endif install: prepare - cp -R $(PWD)/Setup/Linux/usr /. + cp -R $(CURDIR)/Setup/Linux/usr $(DESTDIR)/. ifeq "$(TC_BUILD_CONFIG)" "Release" package: prepare -- cgit v1.2.3