summaryrefslogtreecommitdiffstats
path: root/db-testing
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-04-16 20:14:18 +0200
committerJudd Vinet <judd@archlinux.org>2004-04-16 20:14:18 +0200
commit416d13a0b7da0f12056af2dadd90e1c6c6874ee7 (patch)
treedb93e75be030307319e5a81e2e75bc76a179513e /db-testing
parent05b2f60d5ecaebc0cac22692a35bdaa7a7f7f0fa (diff)
downloaddbscripts-416d13a0b7da0f12056af2dadd90e1c6c6874ee7.tar.gz
dbscripts-416d13a0b7da0f12056af2dadd90e1c6c6874ee7.tar.xz
added support for all 3 repos
Diffstat (limited to 'db-testing')
-rwxr-xr-xdb-testing6
1 files changed, 3 insertions, 3 deletions
diff --git a/db-testing b/db-testing
index 7965d95..2e36f88 100755
--- a/db-testing
+++ b/db-testing
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Id: db-testing,v 1.3 2004/04/16 18:13:46 judd Exp $
+# $Id: db-testing,v 1.4 2004/04/16 18:14:18 judd Exp $
uid=`id -u`
repoid=4
@@ -48,10 +48,10 @@ if [ -d /tmp/.gensync ]; then
echo "error: someone else is currently running gensync!"
exit 1
fi
-/usr/bin/gensync $TMPDIR/arch/build $TMPDIR/testing.db.tar.gz /home/ftp/testing
+/usr/bin/gensync $TMPDIR $TMPDIR/testing.db.tar.gz /home/ftp/testing
[ -f $TMPDIR/testing.db.tar.gz ] && mv -f $TMPDIR/testing.db.tar.gz /home/ftp/testing
-cd $TMPDIR/arch/build && /arch/pkgdb $repoid
+cd $TMPDIR && /arch/pkgdb $repoid
echo "==> Generating Text Package List..." >&2
/arch/genpkglist testing