VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-01 12:16:46 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-02 00:51:55 +0200
commitc1939116554ee2c84f9612cf0cf91a6890e707b5 (patch)
tree38b1e54a0a21c9d3e3f26b56360d5218a893acc0 /src/Main
parentbded7901c56ffab43d98a6fd4488532ceddc3991 (diff)
downloadVeraCrypt-c1939116554ee2c84f9612cf0cf91a6890e707b5.tar.gz
VeraCrypt-c1939116554ee2c84f9612cf0cf91a6890e707b5.zip
Linux: remove existing "Setup/Linux/usr" if any before preparing for packaging.
Diffstat (limited to 'src/Main')
-rwxr-xr-xsrc/Main/Main.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make
index 0c71479b..e0ffc089 100755
--- a/src/Main/Main.make
+++ b/src/Main/Main.make
@@ -204,6 +204,7 @@ endif
ifeq "$(PLATFORM)" "Linux"
prepare: $(APPNAME)
+ rm -fr $(PWD)/Setup/Linux/usr
mkdir -p $(PWD)/Setup/Linux/usr/bin
mkdir -p $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/HTML
cp $(PWD)/Main/$(APPNAME) $(PWD)/Setup/Linux/usr/bin/$(APPNAME)