From: Christopher Allan Webber Date: Tue, 5 Nov 2013 19:41:13 +0000 (-0600) Subject: Just made it so the "okay to wipe your database" echo doesn't add a newline X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=09b0d5118d794daffecf34849126be34b6dae22b;p=mediagoblin.git Just made it so the "okay to wipe your database" echo doesn't add a newline --- diff --git a/devtools/make_example_database.sh b/devtools/make_example_database.sh index e6337d35..7e857f53 100755 --- a/devtools/make_example_database.sh +++ b/devtools/make_example_database.sh @@ -72,7 +72,7 @@ else echo "***WARNING!***" echo "This script will WIPE YOUR FULL CURRENT ENVIRONMENT and REPLACE IT with a test database and media!" echo "Your databases and user_dev/ will all likely be wiped!" - echo "Do you want to continue? (y/n)" + echo -n "Do you want to continue? (y/n) " read -n1 USER_CONFIRM echo "" counter=0