summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 14:21:29 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 14:21:29 -0400
commit14dc8bc6bf985464c119910eeb22f65f534a57b0 (patch)
treec4895fbd625b73faa275152d61abb992df72beee
parent108262939f3b80bc82e1a2eec983944f448f2afd (diff)
more quoting fixes
-rw-r--r--db-functions8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-functions b/db-functions
index ca43259..5ccaaad 100644
--- a/db-functions
+++ b/db-functions
@@ -298,7 +298,7 @@ getpkgfile() {
exit 1
fi
- echo ${1}
+ echo "${1}"
}
getpkgfiles() {
@@ -425,11 +425,11 @@ check_splitpkgs() {
check_pkgrepos() {
local pkgfile=$1
- local pkgname="$(getpkgname ${pkgfile})"
+ local pkgname="$(getpkgname "${pkgfile}")"
[ $? -ge 1 ] && return 1
- local pkgver="$(getpkgver ${pkgfile})"
+ local pkgver="$(getpkgver "${pkgfile}")"
[ $? -ge 1 ] && return 1
- local pkgarch="$(getpkgarch ${pkgfile})"
+ local pkgarch="$(getpkgarch "${pkgfile}")"
[ $? -ge 1 ] && return 1
[ -f "${FTP_BASE}/${PKGPOOL}/${pkgname}-${pkgver}-${pkgarch}"${PKGEXT} ] && return 1