VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Main.make
diff options
context:
space:
mode:
authorEl Mostafa Idrassi <el-mostafa.idrassi@prestalab.net>2019-10-04 19:26:25 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-04 19:26:25 (GMT)
commit48ef6c3736db3dab13ea9befe2239bec65df939e (patch)
tree5de6459915b98c533fb40468d337a7053210b7d4 /src/Main/Main.make
parentb6babc688d3d49ca32c3dbadfb2a4e32e9a43cdd (diff)
downloadVeraCrypt-48ef6c3736db3dab13ea9befe2239bec65df939e.zip
VeraCrypt-48ef6c3736db3dab13ea9befe2239bec65df939e.tar.gz
Linux : Added missing 'mkdir' before installing in case $DESTDIR does not exist (#510)
Diffstat (limited to 'src/Main/Main.make')
-rwxr-xr-xsrc/Main/Main.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make
index 29e2e85..bc54a67 100755
--- a/src/Main/Main.make
+++ b/src/Main/Main.make
@@ -254,6 +254,7 @@ endif
install: prepare
+ mkdir -p $(DESTDIR)
cp -R $(BASE_DIR)/Setup/Linux/usr $(DESTDIR)/
ifeq "$(TC_BUILD_CONFIG)" "Release"
@@ -303,6 +304,7 @@ endif
install: prepare
+ mkdir -p $(DESTDIR)
cp -R $(BASE_DIR)/Setup/FreeBSD/usr $(DESTDIR)/.
ifeq "$(TC_BUILD_CONFIG)" "Release"