summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-07-02 17:50:32 +0000
committerJudd Vinet <judd@archlinux.org>2004-07-02 17:50:32 +0000
commitb59fb0b6a14a71bc8e29c6974eb2b77612209bb2 (patch)
treeb35793296f24b00b1e0f8a6dfe575634f1e3ab2a
parentb2290a1dd4ca481986fcd1f83f999828c405caa0 (diff)
added unsets to fix bad url problems in updates
-rwxr-xr-xpkgdb14
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgdb1 b/pkgdb1
index 5c5c93d..b32f0db 100755
--- a/pkgdb1
+++ b/pkgdb1
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: pkgdb1,v 1.1 2004/07/01 19:41:21 judd Exp $
+# $Id: pkgdb1,v 1.2 2004/07/02 17:50:32 judd Exp $
tl=`pwd`
@@ -19,6 +19,8 @@ for category in `find . -type d -maxdepth 1 | grep -v CVS | grep -v "^extra" | g
for pkg in `ls $category | sort`; do
cd $tl/$category/$pkg
if [ -f PKGBUILD ]; then
+ unset depends source deplist sources
+ unset pkgname pkgver pkgrel pkgdesc url
. PKGBUILD
deplist=${depends[@]}
sources=${source[@]}