X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=tools%2Fsetup.sh;h=fbd385384cb1d6678855bd010ca7bb7d11034c4f;hb=992ecdd839abaadda629295ed565e08618cc060c;hp=5a8b2f3cf5dba504136514a4ed58d29463875455;hpb=6100ed584939ec2095d719e82c8363e01f5a04c1;p=dpdk.git diff --git a/tools/setup.sh b/tools/setup.sh index 5a8b2f3cf5..fbd385384c 100755 --- a/tools/setup.sh +++ b/tools/setup.sh @@ -57,6 +57,12 @@ quit() QUIT=$1 } +# Shortcut for quit. +q() +{ + quit +} + # # Sets up environmental variables for ICC. # @@ -628,6 +634,10 @@ while [ "$QUIT" == "0" ]; do read our_entry echo "" ${OPTIONS[our_entry]} ${our_entry} - echo - echo -n "Press enter to continue ..."; read + + if [ "$QUIT" == "0" ] ; then + echo + echo -n "Press enter to continue ..."; read + fi + done