summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErick Cafferata <erick@cafferata.me>2019-02-13 19:46:20 -0500
committerErick Cafferata <erick@cafferata.me>2019-02-13 19:46:20 -0500
commite26d3d47d94f3ab9fa3b94bd3f18dd415906ae5a (patch)
tree01f6e8502cb5a9f56c2162f546fbf19bda9cb7e1
parenta5e338f5759cf7e0ffeb5fcc7709ca2d14e2f741 (diff)
downloadasp32-e26d3d47d94f3ab9fa3b94bd3f18dd415906ae5a.tar.xz
fixup ls-files command0.3
-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" |