aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-11-02 15:28:52 +0100
committerKarel Kočí <karel.koci@nic.cz>2017-11-02 15:28:52 +0100
commit529f6328021b5064a20dfbcf7eaceaab92982bdd (patch)
tree5ee86c9fcee5c9d9f527eda608378c0297ac7fe5
parent33083fab3bf2760dbd39cc68711e5e429eae74e7 (diff)
downloadturris-myrepo-529f6328021b5064a20dfbcf7eaceaab92982bdd.tar.gz
turris-myrepo-529f6328021b5064a20dfbcf7eaceaab92982bdd.tar.bz2
turris-myrepo-529f6328021b5064a20dfbcf7eaceaab92982bdd.zip
Try to make setup faster by using rsync instead of rm and cp
-rwxr-xr-xbuild_repo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_repo.sh b/build_repo.sh
index 9ee814e..e57a779 100755
--- a/build_repo.sh
+++ b/build_repo.sh
@@ -24,7 +24,7 @@ pull_sdk() {
fi
# Copy clean sdk
rm -rf .$1-sdk
- cp -a .$1-sdk-clean .$1-sdk
+ rsync -aW --inplace --delete .$1-sdk-clean/ .$1-sdk/
}
if [ "$BOARD" = "omnia" ] || [ "$BOARD" = "all" ]; then