Skip to content

Commit

Permalink
Fix #532: Fix operator precedence for curl (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-carlin authored Dec 10, 2024
1 parent 82687b6 commit 5cb26f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rsconf/component/rsconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def host_init(j2_ctx, host):
if not host in y:
y[host] = _passwd_entry(j2_ctx, host)
pkjson.dump_pretty(y, filename=jf)
c = f'curl {j2_ctx.rsconf_db.http_host + "/index.sh" if s else ""} | install_server={j2_ctx.rsconf_db.http_host} bash -s {host}'
c = f'curl {j2_ctx.rsconf_db.http_host + ("/index.sh" if s else "")} | install_server={j2_ctx.rsconf_db.http_host} bash -s {host}'
if s:
return f"""Bootstrapping build server
Run:
Expand Down

0 comments on commit 5cb26f7

Please sign in to comment.