Skip to content

Commit

Permalink
undo path changes from r21555 + r21575: only cx_Freeze needs an absol…
Browse files Browse the repository at this point in the history
…ute path?

git-svn-id: https://xpra.org/svn/Xpra/trunk@21585 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 7, 2019
1 parent 52a4f45 commit 3e4fd9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,13 @@ def is_RH():
print("Warning: no x264 and no vpx support!")
print(" you should enable at least one of these two video encodings")

if install is None:
install = os.environ.get("MINGW_PREFIX") or sys.prefix or "dist"
if install is None and WIN32:
install = os.environ.get("MINGW_PREFIX", sys.prefix or "dist")
if share_xpra is None:
if "install_exe" in sys.argv:
share_xpra = os.path.join("share", "xpra")
else:
share_xpra = os.path.join(install, "share", "xpra")
else:
share_xpra = os.path.join("share", "xpra")

#*******************************************************************************
# default sets:
Expand Down

0 comments on commit 3e4fd9e

Please sign in to comment.