summaryrefslogtreecommitdiff
path: root/localwebresolve
diff options
context:
space:
mode:
Diffstat (limited to 'localwebresolve')
-rwxr-xr-xlocalwebresolve4
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebresolve b/localwebresolve
index f361897..3b4f17d 100755
--- a/localwebresolve
+++ b/localwebresolve
@@ -3,7 +3,7 @@
# /usr/local/sbin/localwebresolve
# Copyright 2002 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: localwebresolve,v 1.5 2004-05-11 10:07:52 jonas Exp $
+# $Id: localwebresolve,v 1.6 2004-05-11 10:20:58 jonas Exp $
#
# Webstats maintenance script
#
@@ -63,7 +63,7 @@ test -d $WEBROOT || exit1 "Webroot \"$WEBROOT\" doesn't exist"
test -d $LOGROOT || exit1 "Logroot \"$LOGROOT\" doesn't exist"
if [ -x "$JDRESOLVE_BIN" -a -n "$JDRESOLVE_DB" ]; then
JDRESOLVE_OPTIONS="$JDRESOLVE_OPTIONS --database=\"$JDRESOLVE_DB\""
- test -d $(basedir "$JDRESOLVE_DB") || exit1 "Cache dir for jdresolve doesn't exist"
+ test -d $(dirname "$JDRESOLVE_DB") || exit1 "Cache dir for jdresolve doesn't exist"
if [ -n "$JDRESOLVE_EXPIRY" ]; then
jdresolve $JDRESOLVE_OPTIONS --expiredb="$JDRESOLVE_EXPIRY"
fi