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, 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" ]


(The latter variant has the advantage that it is less sensitive
against options in the variable, which might interpreted by "test".)

Jochen

--
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                            -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to