Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move interactive echos into if block

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
commit 6bada2101f2fe81db6e55ad71c782c55d0a3d35b 1 parent 6fddab7
@hxw authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 install.sh
View
6 install.sh
@@ -119,7 +119,6 @@ done
[ X"${debug}" = X"yes" ] && set -x
echo this will install the files to: ${prefix}
-echo Ctrl-C to abort
config="${prefix}/.dotfilesrc"
@@ -127,10 +126,11 @@ name=
email=
[ -f "${config}" ] && . "${config}"
-echo Enter some data for substitutions
-
if [ X"${interactive}" = X"yes" ]
then
+ echo Ctrl-C to abort
+ echo Enter some data for substitutions
+
name=$(get "${name}" Enter full name) || exit 1
email=$(get "${email}" Enter email address) || exit 1
Please sign in to comment.
Something went wrong with that request. Please try again.