diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-02 21:53:33 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-02 21:53:33 -0400 |
commit | 729b829badced801f99d048e09c46add2ebfe991 (patch) | |
tree | 7590873867af34c6ea3a4d7943fd1ee96d506a0a | |
parent | c1c7f3a2516b1101cae844e2506ef8aace5cca29 (diff) |
fix pbs-absrepo-convert--treefilter
-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 |