summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.inc.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 4d74278..e06acaf 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -132,7 +132,7 @@ package_show_file() {
}
package_list_files() {
- local remote subtree=trunk
+ local remote subtree=trunk trepo list_ups list_dwn
pkgname=$1
if [[ $pkgname = */* ]]; then
@@ -149,7 +149,6 @@ package_list_files() {
2>/dev/null | awk -v "prefix=$subtree/" 'sub(prefix, "")')
if ! (( OPT_UPSTREAM )); then
- local trepo list_ups list_dwn
read -r trepo _ < <(package_get_repos_with_arch "$pkgname" packages32)
if [[ $trepo ]]; then
list_dwn=$(git ls-tree -r --name-only "remotes/packages32/master" "$trepo/$pkgname" |