From 06a4f83bb7d6cfc4ff227553ff07ab0d0d409ff0 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 24 Feb 2014 05:41:16 +0000 Subject: [PATCH] linux: Fix upload script. --- script/upload.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/upload.py b/script/upload.py index e93581e58996..dc44ce73129a 100755 --- a/script/upload.py +++ b/script/upload.py @@ -73,8 +73,10 @@ def get_atom_shell_build_version(): if sys.platform == 'darwin': atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app', 'Contents', 'MacOS', 'Atom') - else: + elif sys.platform == 'win32': atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe') + else: + atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom') return subprocess.check_output([atom_shell, '--version']).strip()