Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e5bda4

Browse files
Fix symlink for 2to3 in framework install. Without this patch an incorrect link is created when DESTDIR is set.
1 parent fe8a3d6 commit 8e5bda4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mac/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ install_versionedtools:
132132
ln -sf "$${fn}$(VERSION)" "$(DESTDIR)$(prefix)/bin/$${fn}3" ;\
133133
done
134134
mv "$(DESTDIR)$(prefix)/bin/2to3" "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)"
135-
ln -sf "$(DESTDIR)$(prefix)/bin/2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3"
135+
ln -sf "2to3-$(VERSION)" "$(DESTDIR)$(prefix)/bin/2to3"
136136
if [ ! -h "$(DESTDIR)$(prefix)/bin/python3-config" ]; then \
137137
mv "$(DESTDIR)$(prefix)/bin/python3-config" "$(DESTDIR)$(prefix)/bin/python$(VERSION)-config" ;\
138138
ln -sf "python$(VERSION)-config" "$(DESTDIR)$(prefix)/bin/python3-config" ; \

0 commit comments

Comments
 (0)