diff options
author | Mark Doffman <mark.doffman@codethink.co.uk> | 2014-03-11 20:03:42 +0000 |
---|---|---|
committer | Mark Doffman <mark.doffman@codethink.co.uk> | 2014-03-19 15:39:05 +0000 |
commit | 7bcc7fd48752b88502fc0707829aa5700c1c15f2 (patch) | |
tree | 52f7b03f527d0d930a44d20b10bf9be143b4fcde | |
parent | 271c36978064329645441d069b667454b4c085a8 (diff) | |
download | cpython-baserock/markdoffman/py2-symlink-v2.tar.gz |
Add python2 symlink after install.baserock/markdoffman/py2-symlink-v2
python2 symlink is needed by some scripts that
use the #!/usr/bin/python2 shebang. A python2
symlink is also reccomended in PEP394.
This patch adds a python2 symlink to python2.7
after installation.
-rw-r--r-- | cpython.morph | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpython.morph b/cpython.morph index 30f38cb950..551c4165b0 100644 --- a/cpython.morph +++ b/cpython.morph @@ -3,3 +3,5 @@ kind: chunk build-system: autotools configure-commands: - ./configure --prefix="$PREFIX" --enable-shared +post-install-commands: +- ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2 |