summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-11-09 18:38:55 -0800
committerMicah Lee <micah@micahflee.com>2020-11-09 18:38:55 -0800
commita8ef55550fca1d75706dc9447cec9953d9cb648e (patch)
tree19e7f5a90b282eb6f4ab7e77bc9e45beb1b93ae3
parent731d6391c3c5fcb028a5d7979f7cab8848e0e1af (diff)
downloadonionshare-a8ef55550fca1d75706dc9447cec9953d9cb648e.tar.gz
onionshare-a8ef55550fca1d75706dc9447cec9953d9cb648e.zip
Typo
-rwxr-xr-xdesktop/package/linux/build-appimage.py2
-rwxr-xr-xdesktop/package/macos/build.py2
-rw-r--r--desktop/package/windows/build.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/desktop/package/linux/build-appimage.py b/desktop/package/linux/build-appimage.py
index 30c5de94..73164b55 100755
--- a/desktop/package/linux/build-appimage.py
+++ b/desktop/package/linux/build-appimage.py
@@ -24,7 +24,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
- if os.path.exist(os.path.join(cli_dir, "dist")):
+ if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "linux")):
shutil.rmtree(os.path.join(desktop_dir, "linux"))
diff --git a/desktop/package/macos/build.py b/desktop/package/macos/build.py
index f9af29c5..0ba23129 100755
--- a/desktop/package/macos/build.py
+++ b/desktop/package/macos/build.py
@@ -34,7 +34,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
- if os.path.exist(os.path.join(cli_dir, "dist")):
+ if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "macOS")):
shutil.rmtree(os.path.join(desktop_dir, "macOS"))
diff --git a/desktop/package/windows/build.py b/desktop/package/windows/build.py
index c4d1fd89..9dd467f2 100644
--- a/desktop/package/windows/build.py
+++ b/desktop/package/windows/build.py
@@ -24,7 +24,7 @@ def main():
desktop_dir = os.path.join(root, "desktop")
print("○ Clean up from last build")
- if os.path.exist(os.path.join(cli_dir, "dist")):
+ if os.path.exists(os.path.join(cli_dir, "dist")):
shutil.rmtree(os.path.join(cli_dir, "dist"))
if os.path.exists(os.path.join(desktop_dir, "windows")):
shutil.rmtree(os.path.join(desktop_dir, "windows"))