only use a single space to distinguish between the actual __target_host and the same used as part of the path; fixes #206

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2013-10-03 09:55:14 +02:00
commit 5cc894e1e9
2 changed files with 2 additions and 6 deletions

View file

@ -20,5 +20,5 @@
#
#
code="$(echo "$@" | sed "s|\([[:space:]]+\)$__target_host:|\1|g")"
code="$(echo "$@" | sed "s|\([[:space:]]\)$__target_host:|\1|g")"
cp --dereference $code