diff options
author | Hamish Moffatt <hamish@cloud.net.au> | 2008-09-08 07:26:12 +0000 |
---|---|---|
committer | Hamish Moffatt <hamish@cloud.net.au> | 2008-09-08 07:26:12 +0000 |
commit | a94fefa3160fccf7c31b4ec4ef81e5a8bc559ced (patch) | |
tree | 298bcd62196bc9ae3f5ceb5d8f9b2d2442f5d90e /package | |
parent | 9f0f3e5df4d3a5dc72dd88f230b0de2c9d9a19be (diff) |
Keep /usr/bin/python2.4 and make /usr/bin/python a link to it
Diffstat (limited to 'package')
-rw-r--r-- | package/python/python.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/python/python.mk b/package/python/python.mk index 919c932ac..af8069c0c 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -132,7 +132,8 @@ endif PYTHON_MODULES_LIB=$(STAGING_DIR)/lib \ PYTHON_DISABLE_MODULES="$(BR2_PYTHON_DISABLED_MODULES)" \ HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen && \ - rm $(TARGET_DIR)/usr/bin/python?.? && \ + rm $(TARGET_DIR)/usr/bin/python && \ + ln -s python$(PYTHON_VERSION_SHORT) $(TARGET_DIR)/usr/bin/python && \ rm $(TARGET_DIR)/usr/bin/idle && \ rm $(TARGET_DIR)/usr/bin/pydoc && \ find $(TARGET_DIR)/usr/lib/ -name '*.pyo' -exec rm {} \; && \ |