index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-31 10:07:51 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-31 10:07:51 -0400 |
commit | 8036060e1f0f738d4b1c9e7491085fd5adeb41a2 (patch) | |
tree | ba6f25a7eae1433ce2a92dec98469140d7d9a1ed | |
parent | f4f108642e9b00e41baa25cfbbc0d724aac6314d (diff) |
-rw-r--r-- | package.inc.sh | 8 |
diff --git a/package.inc.sh b/package.inc.sh index a0515c9..b1d438b 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -1,7 +1,7 @@ package_resolve() { local pkgbase - [[ -v pkgname ]] || log_fatal 'BUG: package_resolve called without pkgname var set' + [[ $pkgname ]] || log_fatal 'BUG: package_resolve called without pkgname var set' if package_find_remote "$1" "$2"; then return 0 @@ -9,7 +9,7 @@ package_resolve() { if pkgbase=$(archweb_get_pkgbase "$1") && package_find_remote "$pkgbase" "$2"; then log_info '%s is part of package %s' "$1" "$pkgbase" - printf -v pkgname %s "$pkgbase" + pkgname=$pkgbase return 0 fi @@ -64,10 +64,10 @@ package_log() { case $method in shortlog) - logargs=(--pretty=oneline) + logargs=('--pretty=oneline') ;; difflog) - logargs=(-p) + logargs=('-p') ;; log) logargs=() |