summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-06-21 03:47:38 +0000
committerJudd Vinet <judd@archlinux.org>2005-06-21 03:47:38 +0000
commit8c4c7c7ce6324bf1aa8ffb0b9c5e378d446166ef (patch)
tree97bc2fcd49cba509ee1d32b9785719bb5f70ccfe
parentbdcdf586bdb095e833084c092d1cb79d3ed63523 (diff)
fixed a little bug in db-inc - UID is already present
-rw-r--r--db-inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-inc b/db-inc
index bc059d6..9ca9852 100644
--- a/db-inc
+++ b/db-inc
@@ -1,6 +1,6 @@
-# $Id: db-inc,v 1.1 2005/06/21 03:44:57 judd Exp $
+# $Id: db-inc,v 1.2 2005/06/21 03:47:38 judd Exp $
-UID=`id -u`
+[ "$UID" = "" ] && UID=`uid`
TMPDIR="/tmp/archpkg.$repoid.$UID"
cleanup() {