Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Filelist changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Dec 29, 2019
1 parent d8f13a6 commit 2d5eaf1
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 114 deletions.
3 changes: 2 additions & 1 deletion build_filelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def find(ar, name):
print("Building file list...")

paths_data = []
all_files = check_output(["git", "ls-tree", "--name-only", "-r", "master", "src"])
cur_branch = check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"]).decode("utf-8").strip()
all_files = check_output(["git", "ls-tree", "--name-only", "-r", cur_branch, "src"]).decode("utf-8")
paths = all_files.split("\n")
for path in paths:
path_array = path.split("/")
Expand Down
Loading

0 comments on commit 2d5eaf1

Please sign in to comment.