summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Nikiforov <d.nikiforov@partner.samsung.com>2017-09-05 22:52:43 +0300
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-09-12 12:51:40 +0000
commit2ed17c4b55d4db3db2249b7bd3522f8d09656e0b (patch)
tree3d032e93eb5c9d90bc4f5d10bc9e7b7852c1f008
parent03f4940dee2b7808184205e628eb90a12bcdde6c (diff)
downloadfuzz-testing-2ed17c4b55d4db3db2249b7bd3522f8d09656e0b.tar.gz
fuzz-testing-2ed17c4b55d4db3db2249b7bd3522f8d09656e0b.tar.bz2
fuzz-testing-2ed17c4b55d4db3db2249b7bd3522f8d09656e0b.zip
Add cleaning of previously pushed rpms on device
Change-Id: I105a46334f2d023e19718f1dc4cce9238762558a
-rwxr-xr-xinfra/commands/publish.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/infra/commands/publish.sh b/infra/commands/publish.sh
index 01dae05..61e88f9 100755
--- a/infra/commands/publish.sh
+++ b/infra/commands/publish.sh
@@ -105,6 +105,7 @@ printf "\nPushing debug rpm packages to device...\n"
tmp_rpm_dir="/tmp/rpms"
+sdb_shell rm -rf "${tmp_rpm_dir}" '||' true
sdb_shell mkdir -p "${tmp_rpm_dir}"
debug_rpms=($(find "${TARGET_DIR}/${ARCH}/rpm" -name "*-debug*-*.rpm"))
for debug_rpm in "${debug_rpms[@]}"; do