Enforce no spaces, as bad things will silently happen otherwise

This commit is contained in:
Ciaran Gultnieks 2012-01-19 23:09:29 +00:00
parent 15ce8303f9
commit 65031e97b7

View file

@ -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: