Fix list of target binaries in 'publish' command 94/146594/4
authorDmitriy Nikiforov <d.nikiforov@partner.samsung.com>
Tue, 29 Aug 2017 09:20:25 +0000 (12:20 +0300)
committerDmitriy Nikiforov <d.nikiforov@partner.samsung.com>
Tue, 5 Sep 2017 18:47:05 +0000 (21:47 +0300)
Change-Id: I934cf671bfa3549992cd47961efd7e9d22f52003

infra/commands/publish.sh

index db9d995..470b52b 100755 (executable)
@@ -157,7 +157,7 @@ fi
 # push targets
 printf "\nPushing fuzzing targets to device...\n"
 
-target_bins=$(find "${TARGET_DIR}/${ARCH}/target" -type f)
+target_bins=($(find "${TARGET_DIR}/${ARCH}/target" -type f))
 for target_bin in "${target_bins[@]}"; do
     target_dir="${destination}"/$(basename "${target_bin}").d
     sdb_shell mkdir -p "${target_dir}"