diff --git a/docker/scripts/create-gitian-host.sh b/docker/scripts/create-gitian-host.sh index 6f6ea8f..bba28b1 100755 --- a/docker/scripts/create-gitian-host.sh +++ b/docker/scripts/create-gitian-host.sh @@ -7,7 +7,7 @@ cd $BASENAME/../gitian-host || exit $? if [ ! -f authorized_keys ]; then echo "No authorized_keys file found in $PWD" if [ -f ~/.ssh/id_rsa.pub ]; then - echo "Do you want to use ~/.ssh/id_rsa.pub? (y/n)" + echo -n "Do you want to use ~/.ssh/id_rsa.pub? (y/n) " read -r ANSWER if [[ "$ANSWER" == "y" ]]; then cp -v ~/.ssh/id_rsa.pub authorized_keys || exit $? diff --git a/docker/scripts/create-trusty-kbuilder.sh b/docker/scripts/create-trusty-kbuilder.sh index 655731b..8238e59 100755 --- a/docker/scripts/create-trusty-kbuilder.sh +++ b/docker/scripts/create-trusty-kbuilder.sh @@ -7,7 +7,7 @@ cd $BASENAME/../trusty-kbuilder || exit $? if [ ! -f authorized_keys ]; then echo "No authorized_keys file found in $PWD" if [ -f ~/.ssh/id_rsa.pub ]; then - echo "Do you want to use ~/.ssh/id_rsa.pub? (y/n)" + echo -n "Do you want to use ~/.ssh/id_rsa.pub? (y/n) " read -r ANSWER if [[ "$ANSWER" == "y" ]]; then cp -v ~/.ssh/id_rsa.pub authorized_keys || exit $?