diff deploy/linux/build-and-test-appimage.sh @ 2353:6845d7dafebf sv_v4.0pre2

Bitbucket -> Sourcehut
author Chris Cannam
date Wed, 09 Oct 2019 15:17:57 +0100
parents 3a4202cae7fe
children
line wrap: on
line diff
--- a/deploy/linux/build-and-test-appimage.sh	Wed Oct 09 14:57:51 2019 +0100
+++ b/deploy/linux/build-and-test-appimage.sh	Wed Oct 09 15:17:57 2019 +0100
@@ -24,10 +24,10 @@
     perl -p -e "s/\[\[REVISION\]\]/$current/g" > \
          "$dockerdir"/Dockerfile_test_appimage.gen
 
-grep '^bitbucket.org' ~/.ssh/known_hosts > "$dockerdir"/known_hosts
-cp ~/.ssh/id_dsa_build "$dockerdir"/id_dsa_build
-chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_dsa_build
-trap "rm $dockerdir/known_hosts $dockerdir/id_dsa_build" 0
+fgrep 'hg.sr.ht' ~/.ssh/known_hosts > "$dockerdir"/known_hosts
+cp ~/.ssh/id_rsa_build "$dockerdir"/id_rsa_build
+chmod 600 "$dockerdir"/known_hosts "$dockerdir"/id_rsa_build
+trap "rm $dockerdir/known_hosts $dockerdir/id_rsa_build" 0
 
 dockertag="cannam/sonic-visualiser-appimage-$current"