Remove redundant 'sdb root on' invocation 26/146826/4
authorDmitriy Nikiforov <d.nikiforov@partner.samsung.com>
Wed, 30 Aug 2017 16:21:08 +0000 (19:21 +0300)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Thu, 7 Sep 2017 13:11:13 +0000 (13:11 +0000)
Change-Id: I162967ff50b235ffae9ba619abdc792ffbddc711

infra/commands/publish.sh

index 1feb43f..01dae05 100755 (executable)
@@ -105,7 +105,6 @@ printf "\nPushing debug rpm packages to device...\n"
 
 tmp_rpm_dir="/tmp/rpms"
 
-${SDB_CMD} root on >/dev/null
 sdb_shell mkdir -p "${tmp_rpm_dir}"
 debug_rpms=($(find "${TARGET_DIR}/${ARCH}/rpm" -name "*-debug*-*.rpm"))
 for debug_rpm in "${debug_rpms[@]}"; do