diff options
author | Judd Vinet <judd@archlinux.org> | 2004-04-01 23:04:14 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-04-01 23:04:14 +0200 |
commit | f277673d7e083f2cb32537a1764c1819edecb923 (patch) | |
tree | b6c6df1942da83c909d9216e31a026d9ffec3b78 /pkgdb | |
parent | c73bc36772e5811700cc80cc24c8a759b16cbc1e (diff) | |
download | dbscripts-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-x | pkgdb | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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' |