mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge pull request #65 from YunoHost/fix_push_package
Use rsync to push package and delete old files
This commit is contained in:
commit
d4da87e183
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ $(cat "$script_dir/sub_scripts/Build_lxc.log")"
|
||||||
COPY_LOG 1
|
COPY_LOG 1
|
||||||
|
|
||||||
# Copy the package into the container.
|
# Copy the package into the container.
|
||||||
scp -rq "$package_path" "$lxc_name": >> "$test_result" 2>&1
|
rsync -rq --delete "$package_path" "$lxc_name": >> "$test_result" 2>&1
|
||||||
|
|
||||||
# Execute the command given in argument in the container and log its results.
|
# Execute the command given in argument in the container and log its results.
|
||||||
ssh $arg_ssh $lxc_name "$1 > /dev/null 2>> temp_yunohost-cli.log; exit \$?" >> "$test_result" 2>&1
|
ssh $arg_ssh $lxc_name "$1 > /dev/null 2>> temp_yunohost-cli.log; exit \$?" >> "$test_result" 2>&1
|
||||||
|
|
Loading…
Add table
Reference in a new issue