Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#3152 from yingxia2020:fix_zip
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 392087970
  • Loading branch information
copybara-github committed Aug 20, 2021
2 parents 73cab5c + decdf93 commit 685fc27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/zip/zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def main(argv):
sys.exit('Usage: %s <outfile>' % argv[0])
zip_file_path = argv[1]

version = subprocess.check_output(('pkb.py', '--version')).rstrip()
version = subprocess.check_output(
(os.path.join(os.getcwd(), 'pkb.py'), '--version')).rstrip()

with zipfile.ZipFile(zip_file_path, 'w') as zip_file:
for dir_path, _, file_names in os.walk('perfkitbenchmarker'):
Expand Down

0 comments on commit 685fc27

Please sign in to comment.