That didn't solve the problem, it's in this line
RSYNC_SSH="-e \"ssh $SSH_OPTS\""
SSH_OPTS was previously set to
SSH_OPTS="-i $HOME/.ssh/new-id_dsa"
when used RSYNC_SSH in the rsync command it get's messed up with the quoting
On 8/2/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote:
On 8/2/06, C
On 8/2/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
if [ -z $NO_SSH ]
then
if [ -z $SSH_OPTS ]
I am almost sure that you'd want
if [ -z "$NO_SSH" ]
then
if [ -z "$SSH_OPTS" ]
or even
if [ x"$NO_SSH" = "x" ]
then
if [ x"$SSH_OPTS" = "x" ]
I was trying to make an script that can run automatically
The problem I have with the codehaus repo is in this part of the
script, it doesn't work when SSH_OPTS is defined (only for the
codehaus repo). Maybe somebody with better knowledge of bash can help
me.
if [ -z $NO_SSH ]
then
if [ -z