From fe25662d38635fe94cb1f332236f9cfca3ac4814 Mon Sep 17 00:00:00 2001
From: Judd Vinet <judd@archlinux.org>
Date: Thu, 26 Jan 2006 23:48:28 +0000
Subject: little fix for erroneous output

---
 scripts/makepkg | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'scripts')

diff --git a/scripts/makepkg b/scripts/makepkg
index 84464c24..51980005 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -106,6 +106,8 @@ checkdeps() {
 	local missdep=""
 	local deplist=""
 
+	[ $# -gt 0 ] || return
+
 	missdep=`pacman -T $*`
 	ret=$?
 	if [ "$ret" != "0" ]; then
-- 
cgit v1.2.3-70-g09d2