From: joey <> Date: Sat, 22 Jan 2005 18:38:17 +0000 (+0000) Subject: Corrected patch inside the chroot directory X-Git-Tag: debian_userdir-ldap_0-3-8~15 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=295c5a42b122c69116d967e50822f383fcbe2c02 Corrected patch inside the chroot directory --- diff --git a/ud-replicate b/ud-replicate index 9903428..0b936d5 100755 --- a/ud-replicate +++ b/ud-replicate @@ -2,7 +2,7 @@ # Copyright (c) 1999-2001 Jason Gunthorpe # Copyright (c) 2002-2003 Ryan Murray -# Copyright (c) 2004 Joey Schulze +# Copyright (c) 2004-2005 Joey Schulze # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -63,7 +63,7 @@ if [ -x /usr/bin/dchroot ]; then if [ -x "$c/usr/bin/makedb" ] then - test ! -d "$c/var/lib/misc/HOST" || mkdir -p "$c/var/lib/misc/HOST" + test ! -d "$c/var/lib/misc/$HOST" || mkdir -p "$c/var/lib/misc/$HOST" rsync -a ${verbose} $HOST/group.tdb $HOST/passwd.tdb $HOST/ssh* "$c/var/lib/misc/$HOST"