cea-hpc/clustershell — Issue #172: Unexpected behaviour with clush copy when no src directory is specified
Author: thiell
Created: 2012-03-03 16:49:06+00:00
State: open
Labels: Scripts

When copying a file, using {{{clush --copy}}}, in the current directory (no directory specified on the command line), clush handles this badly

{{{
# clush -v -w azur[7000-7003] -c lock_and_sleep.sh
`lock_and_sleep.sh' -> azur[7000-7003]:`'
}}}

What was expected:

{{{
# clush -v -w azur[7000-7003] -c $PWD/lock_and_sleep.sh
`/opt/foo/lock_and_sleep.sh' -> azur[7000-7003]:`/opt/foo'
}}}