summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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