Permalink
Browse files

aurcomm: fix typo in cower call

  • Loading branch information...
falconindy committed Jul 9, 2011
1 parent 773d64b commit 0f8ab3c61726382f94f61fad54d09d4a6c69debe
Showing with 1 addition and 1 deletion.
  1. +1 −1 aurcomm
View
@@ -37,7 +37,7 @@ if ! (( $# )); then
fi
pkgname=${1:-$pkgname}
-if ! pkgID=$(cower -i --format '%i' "$1" 2>/dev/null); then
+if ! pkgID=$(cower -i --format '%i' "$pkgname" 2>/dev/null); then
printf "error: package \`%s' not found\n" "$pkgname"
exit 1
fi

0 comments on commit 0f8ab3c

Please sign in to comment.