Commit a430edab5d4b2198764ced213fa772e45ad73e04

Thomas de Grivel 2023-11-05T10:32:32

wip Darwin

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index e1152fc..ebed6f6 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -210,7 +210,7 @@ EOF
     sh_host = sh_quote(host)
     cmd "ssh #{sh_host} rbpkg/bin/rbpkg_ci #{sh_quote(repo)} #{sh_quote(branch)} #{sh_quote(commit)}"
     sh_ci_dir = sh_quote(ci_dir)
-    if `ssh ${sh_host} uname`.strip == "Darwin"
+    if `ssh #{sh_host} uname`.strip == "Darwin"
       sh_ci_dir = sh_ci_dir.gsub(/^\/home\//, "/Users/")
     end
     cmd! "rsync -a --exclude build #{sh_host}:#{sh_ci_dir}/. #{sh_ci_dir}"