From: Ciaran Gultnieks Date: Thu, 19 Jan 2012 23:09:29 +0000 (+0000) Subject: Enforce no spaces, as bad things will silently happen otherwise X-Git-Tag: 0.1~1090 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=65031e97b7b4127125e6303f7b1e47e1f7cb967f;p=fdroidserver.git Enforce no spaces, as bad things will silently happen otherwise --- 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: