Browse Source

allow overwrite in copy-from-target

fixes #80
tags/0.2
Devrandom 6 years ago
parent
commit
7b82201dd7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      libexec/copy-from-target

+ 1
- 1
libexec/copy-from-target View File

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

Loading…
Cancel
Save