VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 10:13:44 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 22:51:55 (GMT)
commitbded7901c56ffab43d98a6fd4488532ceddc3991 (patch)
tree2ca404b7b8b2dfb5064b90128031965eeb8d9b97
parent04b4ff3651efebfa2615e1b36ce0c43217390a61 (diff)
downloadVeraCrypt-bded7901c56ffab43d98a6fd4488532ceddc3991.zip
VeraCrypt-bded7901c56ffab43d98a6fd4488532ceddc3991.tar.gz
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 1fb7b47..0c71479 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