eff7c95a6e562d68bf0e04d1abbf8e20fdc728be max Thu Nov 7 06:58:29 2024 -0800 forgot that hg.conf does not have apostrophes, refs #34405 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index d8c7b6c..eb98dc0 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -419,31 +419,31 @@ { puts("<div id='apiKey' class='tabSection'>"); puts("<h4>Hubtools API key</h4>"); char *userName = wikiLinkUserName(); char *userId = wikiLinkUserId(); if (userName==NULL || userId==NULL) { char *hgsid = cartSessionId(cart); char *loginUrl = wikiLinkUserLoginUrlReturning(hgsid, wikiLinkEncodeReturnUrl(hgsid, "hgHubConnect", "#dev")); printf("<div class='help'>You are not logged in. Please <a href='%s'>Login</a> now, then this page will show the API key.</div>", loginUrl); } else { puts("<div class='help'>To use the <tt>hubtools up</tt> command, create a file ~/.hubtools.conf and add this line:</div>"); puts("<div style='margin-left: 15px; font-family: monospace'>"); - printf("apiKey='%s@%s'", userName, userId); + printf("apiKey=%s@%s", userName, userId); puts("</div>"); } puts("</div>"); // tabSection apiKey } void hgHubConnectDeveloperMode() /* Put up the controls for the "Hub Development" Tab, which includes a button to run the * hubCheck utility on a hub and load a hub with the udcTimeout and measureTiming * variables turned on */ { // put out the top of our page char *hubUrl = cartOptionalString(cart, "validateHubUrl"); // the outer div for all the elements in the tab