Index: server-src/amverify.sh.in
===================================================================
RCS file: /cvsroot/amanda/amanda/server-src/amverify.sh.in,v
retrieving revision 1.7.2.15
diff -u -r1.7.2.15 amverify.sh.in
--- server-src/amverify.sh.in	2001/06/19 19:51:04	1.7.2.15
+++ server-src/amverify.sh.in	2001/07/18 19:07:15
@@ -242,8 +242,6 @@
 	&& $Echoe "Cannot find config file $AMCONFIG" \
 	&& exit 1
 
-cd $CONFIG_DIR/$CONFIG
-
 TPCHANGER=`getparm tpchanger`
 if [ X"$TPCHANGER" = X"" ]; then
 	$Echoe "No tape changer..."
@@ -306,6 +304,8 @@
 #	TEMP		directory for temporary tar archives and stderr
 #	DEFECTS		defect list
 #	REPORT		report for mail
+
+cd @AMANDA_TMPDIR@ || exit 1
 
 TEMP=@AMANDA_TMPDIR@/amverify.$$
 trap 'rm -fr $TEMP' 0
