From e26d3d47d94f3ab9fa3b94bd3f18dd415906ae5a Mon Sep 17 00:00:00 2001 From: Erick Cafferata Date: Wed, 13 Feb 2019 19:46:20 -0500 Subject: fixup ls-files command --- package.inc.sh | 3 +-- 1 file changed, 1 insertion(+), 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" | -- cgit v1.2.3