summaryrefslogtreecommitdiffstats
path: root/pkgdb
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2004-04-01 23:04:14 +0200
committerJudd Vinet <judd@archlinux.org>2004-04-01 23:04:14 +0200
commitf277673d7e083f2cb32537a1764c1819edecb923 (patch)
treeb6c6df1942da83c909d9216e31a026d9ffec3b78 /pkgdb
parentc73bc36772e5811700cc80cc24c8a759b16cbc1e (diff)
downloaddbscripts-f277673d7e083f2cb32537a1764c1819edecb923.tar.gz
dbscripts-f277673d7e083f2cb32537a1764c1819edecb923.tar.xz
changed mysql temp file so one user can run multiple db-gen scripts concurrently
Diffstat (limited to 'pkgdb')
-rwxr-xr-xpkgdb8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgdb b/pkgdb
index 69affd0..4ccb54f 100755
--- a/pkgdb
+++ b/pkgdb
@@ -1,14 +1,14 @@
#!/bin/bash
-# $Id: pkgdb,v 1.11 2004/02/20 09:20:32 judd Exp $
+# $Id: pkgdb,v 1.12 2004/04/01 21:04:14 judd Exp $
tl=`pwd`
+repoid=$1
# we use this instead of mktemp cuz the RH server's mktemp is broken :(
uid=`id -u`
-TMPFILE="/tmp/.mysqltmp.$uid.1"
-TMPFILE2="/tmp/.mysqltmp.$uid.2"
+TMPFILE="/tmp/.mysqltmp.$uid.$repoid.1"
+TMPFILE2="/tmp/.mysqltmp.$uid.$repoid.2"
-repoid=$1
dbuser='archweb'
dbname='archweb'
dbpass='YWkrOjqm'