summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2003-05-24 02:25:59 +0200
committerJudd Vinet <judd@archlinux.org>2003-05-24 02:25:59 +0200
commit3d078d5f874b5410267cc6beb73349ffeffce42c (patch)
tree31ebb5f33dd2a6040da11fee643f6bf42d28b4ff
parent9656502b826f7e7b22658a7091b30c73baeda958 (diff)
downloaddbscripts-3d078d5f874b5410267cc6beb73349ffeffce42c.tar.gz
dbscripts-3d078d5f874b5410267cc6beb73349ffeffce42c.tar.xz
fixed bugs
-rwxr-xr-xdb-arch4
-rwxr-xr-xdb-unstable4
2 files changed, 4 insertions, 4 deletions
diff --git a/db-arch b/db-arch
index 510637d..a6b9118 100755
--- a/db-arch
+++ b/db-arch
@@ -1,12 +1,12 @@
#!/bin/bash
-# $Id: db-arch,v 1.6 2003/05/23 05:08:57 judd Exp $
+# $Id: db-arch,v 1.7 2003/05/24 00:25:59 judd Exp $
echo "==> Updating ABS Tree..." >&2
cd /tmp
rm -rf arch
CVSROOT=:ext:judd@cvs.archlinux.org:/home/cvs-arch cvs -q export -r CURRENT -f arch/build
-/arch/pkgdb 1
+cd /tmp/arch/build && /arch/pkgdb 1
echo "==> Generating Text Package List..." >&2
/arch/genpkglist
diff --git a/db-unstable b/db-unstable
index 45c69c7..8fa0388 100755
--- a/db-unstable
+++ b/db-unstable
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: db-unstable,v 1.3 2003/05/23 05:08:57 judd Exp $
+# $Id: db-unstable,v 1.4 2003/05/24 00:25:59 judd Exp $
echo "==> Generating pacsync2 Database for UNSTABLE..." >&2
cd /tmp
@@ -7,7 +7,7 @@ CVS_RSH=ssh CVSROOT=:ext:cvs.archlinux.org:/home/cvs-unstable cvs -q export -r C
/usr/bin/gensync /tmp/unstable /tmp/unstable.db.tar.gz
[ -f /tmp/unstable.db.tar.gz ] && mv -f /tmp/unstable.db.tar.gz /home/ftp/unstable
-/arch/pkgdb 3
+cd /tmp/unstable && /arch/pkgdb 3
rm -rf /tmp/unstable