VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEl Mostafa Idrassi <el-mostafa.idrassi@prestalab.net>2019-10-04 20:26:25 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-04 21:26:25 +0200
commit48ef6c3736db3dab13ea9befe2239bec65df939e (patch)
tree5de6459915b98c533fb40468d337a7053210b7d4
parentb6babc688d3d49ca32c3dbadfb2a4e32e9a43cdd (diff)
downloadVeraCrypt-48ef6c3736db3dab13ea9befe2239bec65df939e.tar.gz
VeraCrypt-48ef6c3736db3dab13ea9befe2239bec65df939e.zip
Linux : Added missing 'mkdir' before installing in case $DESTDIR does not exist (#510)
-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 29e2e85c..bc54a67b 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"