[Pkg-openldap-devel] r690 - openldap/trunk-2.3/debian
Matthijs Mohlmann
matthijs at cacholong.nl
Sun Jul 16 21:33:51 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Torsten Landschoff wrote:
> Author: torsten
> Date: 2006-07-16 20:40:53 +0000 (Sun, 16 Jul 2006)
> New Revision: 690
>
> Modified:
> openldap/trunk-2.3/debian/slapd.scripts-common
> Log:
> Another try to fix moving the database directories
>
> Modified: openldap/trunk-2.3/debian/slapd.scripts-common
> ===================================================================
> --- openldap/trunk-2.3/debian/slapd.scripts-common 2006-07-15 22:00:38 UTC (rev 689)
> +++ openldap/trunk-2.3/debian/slapd.scripts-common 2006-07-16 20:40:53 UTC (rev 690)
> @@ -563,7 +563,8 @@
> backupdir=`compute_backup_path "$databasedir" "$suffix"`
> echo -n " - directory $suffix... " >&2
> mkdir -p "$backupdir"
> - find "$databasedir"/* -depth -exec mv {} "$backupdir" \;
> + find "$databasedir" -mindepth 1 -maxdepth 1 \
> + -exec mv {} "$backupdir" \;
> echo done. >&2
> else
> cat >&2 <<EOF
Thanks, I did think of the possibility of more directories in it, but
then everything was placed in the toplevel directory.
Regards,
Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEurC/2n1ROIkXqbARAgzxAJ90Y1DI+aCWyet3MtTTmYYYMLQkhwCeMZzB
fpbUEmTIDelBGaCKiv6l8m8=
=rROK
-----END PGP SIGNATURE-----
More information about the Pkg-openldap-devel
mailing list