Masato Taruishi
taru****@users*****
2005年 1月 24日 (月) 20:59:37 JST
=================================================================== RCS file: ultrapossum/module/server/db/dbdump,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- ultrapossum/module/server/db/dbdump 2005/01/24 11:23:26 1.1.2.1 +++ ultrapossum/module/server/db/dbdump 2005/01/24 11:59:37 1.1.2.2 @@ -16,7 +16,6 @@ xlibdb-*.so) ver=`echo $soname | sed 's/libdb-\(.*\).so/\1/'` dump="db${ver}_dump" - archive="db${ver}_archive" ;; x) echo "E: can't recognize what version of berkley db is used" 1>&2 @@ -29,7 +28,7 @@ esac progress "Configuring berkleydb environment for $soname... done" -for f in `$archive -h $DIRECTORY -sa` +for f in `/bin/ls $DIRECTORY/*.bdb` do progress "Dumping $f... " $dump $f | gzip -c > `basename $f`.gz