1
0
Fork 0
forked from github/pelican

Make develop_server.sh executable. Refs #443.

The pelican-quickstart command generates a develop_server.sh file that
must have executable permissions in order to run.
This commit is contained in:
Justin Mayer 2012-08-03 08:26:19 -07:00
commit 7ee6fdd9e6

View file

@ -221,6 +221,7 @@ Please answer the following questions so this script can generate the files need
template = string.Template(line)
fd.write(template.safe_substitute(CONF))
fd.close()
os.chmod((os.path.join(CONF['basedir'], 'develop_server.sh')), 0755)
except OSError, e:
print('Error: {0}'.format(e))