From db9c2f8c2f0dcb23f4238c5f73146dfd8918b14b Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Fri, 14 Mar 2014 14:59:09 -0500 Subject: [PATCH] fix service handling --- src/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/build.py b/src/build.py index 0915930a02..c330084a9b 100755 --- a/src/build.py +++ b/src/build.py @@ -237,10 +237,10 @@ def make_package(args): # Figure out if application has service part service = False - directory = args.private or args.dir + directory = args.dir if directory: service_main = join(realpath(directory), 'service', 'main.py') - if os.path.exists(service_main): + if os.path.exists(service_main) or os.path.exists(service_main + 'o'): service = True # Check if OUYA support is enabled