Masato Taruishi
taru****@users*****
2004年 10月 8日 (金) 01:00:04 JST
=================================================================== RCS file: ultrapossum/module/server/createdb.sh,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- ultrapossum/module/server/createdb.sh 2004/09/30 09:37:25 1.26 +++ ultrapossum/module/server/createdb.sh 2004/10/07 16:00:03 1.27 @@ -118,7 +118,7 @@ if $SLAPADD -b $SUFFIX -f $SLAPDCONF $SLAPADD_EXTRA_ARGS < $ldiffile; then echo "done" 1>&2 else - /bin/rm -rf $DIRECTORY + /bin/mv $DIRECTORY $DIRECTORY-`date +%Y%m%d%H%M%S` echo "failed" 1>&2 exit 1 fi @@ -132,7 +132,7 @@ if $SLAPADD -b $SUFFIX -f $SLAPDCONF $SLAPADD_EXTRA_ARGS < $l; then echo "done" 1>&2 else - /bin/rm -rf $DIRECTORY + /bin/mv $DIRECTORY $DIRECTORY-`date +%Y%m%d%H%M%S` echo "failed" 1>&2 exit 1 fi