From 65031e97b7b4127125e6303f7b1e47e1f7cb967f Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Thu, 19 Jan 2012 23:09:29 +0000 Subject: [PATCH] Enforce no spaces, as bad things will silently happen otherwise --- update.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.py b/update.py index 7aa5e736..dab3b8c2 100755 --- a/update.py +++ b/update.py @@ -79,6 +79,9 @@ apks = [] for apkfile in glob.glob(os.path.join('repo','*.apk')): apkfilename = apkfile[5:] + if apkfilename.find(' ') != -1: + print "No spaces in APK filenames!" + sys.exit(1) srcfilename = apkfilename[:-4] + "_src.tar.gz" if not options.quiet: -- 2.30.2