Skip to content

Commit

Permalink
renamed build script env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdone committed May 9, 2015
1 parent 8107839 commit 9129794
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# environment paths demoinfogo_bin__linux and demoinfogo_bin_win
# should point to directories where the demoinfogo binaries are
import os
import os.path
import shutil
Expand All @@ -11,7 +13,7 @@
for os_name in ['linux', 'win']:
dir_name = 'headshotbox-%s-%s' % (version, os_name)
path = dir_name + '/' + dir_name
demoinfogo = os.environ['headshotbox_' + os_name]
demoinfogo = os.environ['demoinfogo_bin_' + os_name]
if os.path.exists(dir_name):
shutil.rmtree(dir_name)
os.mkdir(dir_name)
Expand Down

0 comments on commit 9129794

Please sign in to comment.