chmod 755 the command

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-04-03 20:44:54 +02:00
parent 70471ce780
commit b861c8a65e

View file

@ -433,6 +433,7 @@ class Setup():
os.system('zip -0 ../ponysay.zip ' + ' '.join(ponysaysrc)) # use not compress, prefer speed os.system('zip -0 ../ponysay.zip ' + ' '.join(ponysaysrc)) # use not compress, prefer speed
finally: finally:
os.chdir('..') os.chdir('..')
os.chmod('../ponysay.zip', 0o755)
try: try:
fileout = open('ponysay.install', 'wb+') fileout = open('ponysay.install', 'wb+')
filein = open('src/%s' % src, 'rb') filein = open('src/%s' % src, 'rb')