From 3a3c2cec6e4044c00c4b095cf87eb80f4226e893 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 1 Jul 2025 13:05:25 -0700 Subject: gyod fyadfklajsdfjlk --- worker/scripts/fetch_code | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'worker/scripts/fetch_code') diff --git a/worker/scripts/fetch_code b/worker/scripts/fetch_code index 7859fb1..2691832 100755 --- a/worker/scripts/fetch_code +++ b/worker/scripts/fetch_code @@ -3,8 +3,8 @@ export LOG_PREFIX="[fetch_code $remote @ $checkout -> $path]" if [[ "$remote" == ssh://* ]]; then - host=$(echo "$url" | sed -E 's#ssh://([^:]+):[0-9]+/.*#\1#') - port=$(echo "$url" | sed -E 's#ssh://[^:]+:([0-9]+)/.*#\1#') + host=$(echo "$remote" | sed -E 's#ssh://([^:]+):[0-9]+/.*#\1#') + port=$(echo "$remote" | sed -E 's#ssh://[^:]+:([0-9]+)/.*#\1#') log "populating host keyz~ $host:$port" ssh-keyscan -p "$port" "$host" > ./cur_known_hosts -- cgit v1.2.3-70-g09d2