index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2017-08-20 16:32:16 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-08-20 16:32:16 -0400 |
commit | ddbca0c7df338b3d8563175ef244ece2b5eba2af (patch) | |
tree | f8c4d85a2cd2ebbce6c217c2f9fb31bc00e82c97 /package.inc.sh | |
parent | 6def64c8e0b6d6d41b8768db6d8448f8bc320bbf (diff) |
-rw-r--r-- | package.inc.sh | 8 |
diff --git a/package.inc.sh b/package.inc.sh index a0e5ce4..3a64912 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -103,7 +103,7 @@ package_show_file() { } package_list_files() { - local remote + local remote subtree=trunk pkgname=$1 if [[ $pkgname = */* ]]; then @@ -114,8 +114,6 @@ package_list_files() { if [[ $repo ]]; then subtree=repos/$repo-$OPT_ARCH - else - subtree=trunk fi @@ -124,7 +122,7 @@ package_list_files() { } package_export() { - local remote repo arch path + local remote repo arch path subtree=trunk pkgname=$1 if [[ $pkgname = */* ]]; then @@ -135,8 +133,6 @@ package_export() { if [[ $repo ]]; then subtree=repos/$repo-$OPT_ARCH - else - subtree=trunk fi if [[ -z $(git ls-tree "remotes/$remote/packages/$pkgname" "$subtree/") ]]; then |