Skip to content

Commit

Permalink
Merge pull request #5217 from liulinC/private/linl/dev
Browse files Browse the repository at this point in the history
CP-45938: Fixup xs9 failure due to python2 stuff
  • Loading branch information
liulinC authored Oct 27, 2023
2 parents 5341a83 + 2d83dd3 commit e3a436b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ install:
$(IPROG) host-backup-restore/host-backup $(DESTDIR)$(LIBEXECDIR)
$(IPROG) host-backup-restore/host-restore $(DESTDIR)$(LIBEXECDIR)
# example/python
ifneq ($(BUILD_PY2), NO)
$(IDATA) examples/python/XenAPIPlugin.py $(DESTDIR)$(SITE_DIR)/
$(IDATA) examples/python/XenAPI/XenAPI.py $(DESTDIR)$(SITE_DIR)/
$(IDATA) examples/python/inventory.py $(DESTDIR)$(SITE_DIR)/
endif
$(IDATA) examples/python/XenAPIPlugin.py $(DESTDIR)$(SITE3_DIR)/
sed -i 's/#!\/usr\/bin\/python/#!\/usr\/bin\/python3/' $(DESTDIR)$(SITE3_DIR)/XenAPIPlugin.py
$(IDATA) examples/python/XenAPI/XenAPI.py $(DESTDIR)$(SITE3_DIR)/
Expand Down

0 comments on commit e3a436b

Please sign in to comment.