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:
parent
24d5a6053e
commit
7ee6fdd9e6
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue