You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2016/02/23 11:25:51 UTC

jclouds-site git commit: Fixed deploy site prompt

Repository: jclouds-site
Updated Branches:
  refs/heads/master 21d2eb500 -> ca86f0749


Fixed deploy site prompt


Project: http://git-wip-us.apache.org/repos/asf/jclouds-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-site/commit/ca86f074
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-site/tree/ca86f074
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-site/diff/ca86f074

Branch: refs/heads/master
Commit: ca86f07498b58b98392737e208bd7d5ff6d0f004
Parents: 21d2eb5
Author: Ignasi Barrera <na...@apache.org>
Authored: Tue Feb 23 11:25:33 2016 +0100
Committer: Ignasi Barrera <na...@apache.org>
Committed: Tue Feb 23 11:25:33 2016 +0100

----------------------------------------------------------------------
 deploy-site.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-site/blob/ca86f074/deploy-site.sh
----------------------------------------------------------------------
diff --git a/deploy-site.sh b/deploy-site.sh
index 077ae78..de4bdc1 100755
--- a/deploy-site.sh
+++ b/deploy-site.sh
@@ -49,10 +49,9 @@ else
 
     svn status
 
-    read -p "Are you sure you want to deploy the above changes? (y|n) " -n 1 -r
-    echo
+    read -p "Are you sure you want to deploy the above changes? (y|n) "
 
-    if [[ $REPLY =~ ^[y]$ ]]; then
+    if [[ "$REPLY" == "y" ]]; then
         USERNAME_ARG=""
         if [ -n "$1" ]; then
             USERNAME_ARG="--username $1"