VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 12:13:44 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-02 00:51:55 +0200
commitbded7901c56ffab43d98a6fd4488532ceddc3991 (patch)
tree2ca404b7b8b2dfb5064b90128031965eeb8d9b97
parent04b4ff3651efebfa2615e1b36ce0c43217390a61 (diff)
downloadVeraCrypt-bded7901c56ffab43d98a6fd4488532ceddc3991.tar.gz
VeraCrypt-bded7901c56ffab43d98a6fd4488532ceddc3991.zip
Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as $(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.)
-rwxr-xr-xsrc/Main/Main.make2
1 files changed, 1 insertions, 1 deletions
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