瀏覽代碼

Fix scp for git repos

tags/0.1
devrandom 8 年之前
父節點
當前提交
953edf57df
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      libexec/copy-to-target

+ 1
- 1
libexec/copy-to-target 查看文件

@@ -47,7 +47,7 @@ if [ $# = 0 ] ; then
fi

if [ -z "$USE_LXC" ]; then
scp $QUIET_FLAG -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2
scp $QUIET_FLAG -r -oConnectTimeout=5 -oNoHostAuthenticationForLocalhost=yes -i ${GITIAN_BASE:-.}/var/id_dsa -P $VM_SSH_PORT $1 $TUSER@localhost:$2
else
config-lxc
tar -C `dirname "$1"` -cf - `basename "$1"` | sudo lxc-start -n gitian -f var/lxc.config -- sudo -i -u $TUSER tar -C "$2" -xf -

Loading…
取消
儲存