diff options
author | Judd Vinet <judd@archlinux.org> | 2003-05-24 02:25:59 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2003-05-24 02:25:59 +0200 |
commit | 3d078d5f874b5410267cc6beb73349ffeffce42c (patch) | |
tree | 31ebb5f33dd2a6040da11fee643f6bf42d28b4ff | |
parent | 9656502b826f7e7b22658a7091b30c73baeda958 (diff) | |
download | dbscripts-3d078d5f874b5410267cc6beb73349ffeffce42c.tar.gz dbscripts-3d078d5f874b5410267cc6beb73349ffeffce42c.tar.xz |
fixed bugs
-rwxr-xr-x | db-arch | 4 | ||||
-rwxr-xr-x | db-unstable | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |