Sfoglia il codice sorgente

Read inputs in on the same line and add some spacing

Antony Messerli 9 anni fa
parent
commit
1b39a8222b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/utils.ipxe

+ 2 - 2
src/utils.ipxe

@@ -43,8 +43,8 @@ echo This will chainload into a testing branch of netboot.xyz.  You'll need to e
 echo your Github User and the first part of the commit hash of the commit you want
 echo your Github User and the first part of the commit hash of the commit you want
 echo to test.  This assumes you are testing from a netboot.xyz repo.
 echo to test.  This assumes you are testing from a netboot.xyz repo.
 echo
 echo
-echo Specify Github User Name: && read github_user
-echo Specify shortened commit hash of netboot.xyz to be tested ( i.e. 30b7ca ): && read github_hash
+echo -n Specify Github User Name: ${} && read github_user
+echo -n Specify shortened commit hash of netboot.xyz to be tested ( i.e. 30b7ca ): ${} && read github_hash
 echo
 echo
 echo Attempting to chainload:
 echo Attempting to chainload:
 chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe || goto error
 chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe || goto error