From 1c7d863d4ac2633f0b37c6ce8b4c69e2b59b74b8 Mon Sep 17 00:00:00 2001 From: Maxim Kuvyrkov Date: Mon, 27 Apr 2020 17:19:46 +0000 Subject: tcwg-benchmark.sh: Remove unused @hw_type@ substitution from $results_id Change-Id: I6530286516fc131980e4379399ca0fff00883f8f --- tcwg-benchmark.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tcwg-benchmark.sh') diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index 9cc82c10..55b097da 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -212,12 +212,9 @@ esac # Slaves for this job are virtual slaves on dev-01, # convert the slave name into the target board name boardname=$(echo "${NODE_NAME}" | sed 's/-bmk//').tcwglab -hw_type=$(print_hw_id_for_node "$NODE_NAME") results_id=$(echo "$results_id" \ - | sed -e "s//$hw_type/g" \ - -e "s/@hw_type@/$hw_type/g" \ - -e "s//$BUILD_NUMBER/g" \ + | sed -e "s//$BUILD_NUMBER/g" \ -e "s/@build_num@/$BUILD_NUMBER/g") if echo "$results_id" | grep -q "\.\."; then echo "ERROR: results_id should not escape /home/tcwg-benchmark/results* hierarchy; do not use \"..\"" -- cgit v1.2.3