summaryrefslogtreecommitdiff
path: root/strata/core/cpython.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/core/cpython.morph')
-rw-r--r--strata/core/cpython.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/core/cpython.morph b/strata/core/cpython.morph
index 551c4165..6c9e4b3d 100644
--- a/strata/core/cpython.morph
+++ b/strata/core/cpython.morph
@@ -4,4 +4,4 @@ build-system: autotools
configure-commands:
- ./configure --prefix="$PREFIX" --enable-shared
post-install-commands:
-- ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2
+- test -x "$DESTDIR"/"$PREFIX"/bin/python2 || ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2