Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislas Polu committed Oct 21, 2014
1 parent c78c2eb commit 3f81ed8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions scripts/create-dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from config import LIBCHROMIUMCONTENT_COMMIT, BASE_URL, TARGET_PLATFORM, \
DIST_ARCH
from util import scoped_cwd, rm_rf, get_thrust_shell_version, make_zip, \
from util import scoped_cwd, rm_rf, get_thrust_version, make_zip, \
safe_mkdir, execute


Expand Down Expand Up @@ -155,8 +155,9 @@ def create_version():


def create_dist_zip():
dist_name = 'thrust_shell-{0}-{1}-{2}.zip'.format(THRUST_SHELL_VERSION,
TARGET_PLATFORM, DIST_ARCH)
dist_name = 'thrust-{0}-{1}-{2}.zip'.format(THRUST_SHELL_VERSION,
TARGET_PLATFORM,
DIST_ARCH)
zip_file = os.path.join(SOURCE_ROOT, 'dist', dist_name)

with scoped_cwd(DIST_DIR):
Expand Down
2 changes: 1 addition & 1 deletion scripts/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def execute(argv):
raise e


def get_thrust_shell_version():
def get_thrust_version():
return subprocess.check_output(['git', 'describe', '--tags']).strip()


Expand Down

0 comments on commit 3f81ed8

Please sign in to comment.