projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efcc80c
)
remove debugging output
author
Stephen Gran
<steve@lobefin.net>
Wed, 14 May 2008 22:03:56 +0000
(23:03 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Wed, 14 May 2008 22:03:56 +0000
(23:03 +0100)
ud-replicate
patch
|
blob
|
history
diff --git
a/ud-replicate
b/ud-replicate
index
5256b50
..
8bbef7c
100755
(executable)
--- a/
ud-replicate
+++ b/
ud-replicate
@@
-81,11
+81,11
@@
if [ -e ${HOST}/ssh-keys.tar.gz ]; then
export TMPDIR='/tmp/'
tempdir=$(mktemp -d)
old=$(pwd -P)
- cd $tempdir && tar -x
v
f ${old}/${HOST}/ssh-keys.tar.gz
- cd old
+ cd $tempdir && tar -xf ${old}/${HOST}/ssh-keys.tar.gz
+ cd
$
old
mkdir userkeys 2> /dev/null || true
chmod 755 $tempdir
- rsync -a
v
--delete-after $tempdir/ userkeys/
+ rsync -a --delete-after $tempdir/ userkeys/
fi
if [ -x /usr/bin/dchroot ]; then