From 7ee6fdd9e6431571507f6b7a84a93567e52eb596 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Fri, 3 Aug 2012 08:26:19 -0700 Subject: [PATCH] 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. --- pelican/tools/pelican_quickstart.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pelican/tools/pelican_quickstart.py b/pelican/tools/pelican_quickstart.py index 9eef105e..c8064bf1 100755 --- a/pelican/tools/pelican_quickstart.py +++ b/pelican/tools/pelican_quickstart.py @@ -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))