Merge lp:~asfaltboy/ladon/fix-ladon-ctl-shebang into lp:ladon

Proposed by Pavel Savchenko
Status: Needs review
Proposed branch: lp:~asfaltboy/ladon/fix-ladon-ctl-shebang
Merge into: lp:ladon
Diff against target: 18 lines (+2/-1)
2 files modified
frameworks/python/scripts/ladon-ctl (+1/-0)
frameworks/python/scripts/ladon2.7ctl (+1/-1)
To merge this branch: bzr merge lp:~asfaltboy/ladon/fix-ladon-ctl-shebang
Reviewer Review Type Date Requested Status
Ladon Developer Pending
Review via email: mp+205912@code.launchpad.net

Description of the change

Simple fix of the python shebang which uses the env's declared python.

Since `setup.py` already sets the "scripts" key, it automatically, when used with a tool such as pip, converts the shebang to the current env's python interpretor full path.

To post a comment you must log in.

Unmerged revisions

113. By Pavel Savchenko

Add (and update) shebang to run in different envs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'frameworks/python/scripts/ladon-ctl'
--- frameworks/python/scripts/ladon-ctl 2011-08-08 23:21:30 +0000
+++ frameworks/python/scripts/ladon-ctl 2014-02-12 08:47:15 +0000
@@ -1,3 +1,4 @@
1#!/usr/bin/env python
1# -*- coding: utf-8 -*-2# -*- coding: utf-8 -*-
23
3from os.path import abspath,dirname,basename4from os.path import abspath,dirname,basename
45
=== modified file 'frameworks/python/scripts/ladon2.7ctl'
--- frameworks/python/scripts/ladon2.7ctl 2011-12-11 22:51:56 +0000
+++ frameworks/python/scripts/ladon2.7ctl 2014-02-12 08:47:15 +0000
@@ -1,4 +1,4 @@
1#!/usr/bin/python1#!/usr/bin/env python
2# -*- coding: utf-8 -*-2# -*- coding: utf-8 -*-
33
4from os.path import abspath,dirname,basename4from os.path import abspath,dirname,basename

Subscribers

People subscribed via source and target branches