diff --git a/build/targets/build_tcpdump.sh b/build/targets/build_tcpdump.sh index 66b1bf9..fdab747 100755 --- a/build/targets/build_tcpdump.sh +++ b/build/targets/build_tcpdump.sh @@ -36,7 +36,7 @@ main() { local version version=$(get_version "${BUILD_DIRECTORY}/tcpdump/tcpdump --version 2>&1 | head -n1 | awk '{print \$3}'") version_number=$(echo "$version" | cut -d"-" -f2) - cp "${BUILD_DIRECTORY}/tcpdump/tcpdump" "${OUTPUT_DIRECTORY}/tcpdump" + cp "${BUILD_DIRECTORY}/tcpdump/tcpdump" "${OUTPUT_DIRECTORY}/tcpdump${version}" echo "[+] Finished building tcpdump ${CURRENT_ARCH}" echo ::set-output name=PACKAGED_NAME::"tcpdump${version}"