chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ce830
)
Enforce no spaces, as bad things will silently happen otherwise
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 19 Jan 2012 23:09:29 +0000
(23:09 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Thu, 19 Jan 2012 23:09:29 +0000
(23:09 +0000)
update.py
patch
|
blob
|
history
diff --git
a/update.py
b/update.py
index 7aa5e7361ed31618207350db67d7404e80334609..dab3b8c20957b975428c25bda7c3ebbcd5d630c9 100755
(executable)
--- 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: