diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-29 10:39:08 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-29 10:39:08 +0200 |
commit | 8e9117931e2344a087a0ed36c4ed9f1c3ef6d9ce (patch) | |
tree | f48adab03fcfc64f146b8096e0b544e9f627e98f /ruby.sh | |
parent | 79e608cc3777130fc575acf6cdac8e20f7b84a38 (diff) |
Fixed missing ruby read
Diffstat (limited to 'ruby.sh')
-rwxr-xr-x | ruby.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,12 +38,13 @@ else fi fi +DIR="`pwd`" if [ ! $RUBY_DONE ]; then echo "This installs Ruby Enterprise edition." echo "Your installation directory is '$PREFIX'." echo "A configuration file is created and you are given the option to have it included in your '~.bashrc'." echo "Press <Return> to continue, or <Ctrl+C> to abort." - DIR="`pwd`" + read cd /tmp if ! $WGET -O - "http://rubyenterpriseedition.googlecode.com/files/$RUBYVER.tar.gz" | tar zxv >/dev/null 2>&1 ; then echo "Download failed! Aborting..." |