diff options
-rwxr-xr-x | pbs-absrepo-convert--treefilter | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbs-absrepo-convert--treefilter b/pbs-absrepo-convert--treefilter index 1462f11..24ba8b0 100755 --- a/pbs-absrepo-convert--treefilter +++ b/pbs-absrepo-convert--treefilter @@ -4,9 +4,9 @@ arch=$1 # generate map of all packages to their treehash tree="$(mktemp)" if [[ $arch = master ]]; then - git ls-tree -d "$arch" */trunk > "$tree" + git ls-tree -d "$GIT_COMMIT" */trunk > "$tree" else - git ls-tree -d "$arch" */repos/*-"$arch" */repos/*-any > "$tree" + git ls-tree -d "$GIT_COMMIT" */repos/*-"$arch" */repos/*-any > "$tree" fi # generate map of all packages to their repo |