summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-01 13:05:25 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-01 13:05:25 -0700
commit3a3c2cec6e4044c00c4b095cf87eb80f4226e893 (patch)
tree6ba2260e0727c78578caea2c6131c631b8be714f
parentd3c035795e1da3d07e384be0487ec681fa67bbb6 (diff)
downloadci-3a3c2cec6e4044c00c4b095cf87eb80f4226e893.tar.gz
ci-3a3c2cec6e4044c00c4b095cf87eb80f4226e893.zip
gyod fyadfklajsdfjlk
-rwxr-xr-xworker/scripts/fetch_code4
1 files changed, 2 insertions, 2 deletions
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