Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 24 lines (16 sloc) 0.358 kB
9488a17 @sstephenson Add installation script
authored
1 #!/bin/sh
2
3 set -e
4
5 if [ -z "${PREFIX}" ]; then
6 PREFIX="/usr/local"
7 fi
8
9 BIN_PATH="${PREFIX}/bin"
10 SHARE_PATH="${PREFIX}/share/ruby-build"
11
12 mkdir -p "${BIN_PATH}"
13 mkdir -p "${SHARE_PATH}"
14
15 for file in bin/*; do
16 cp "${file}" "${BIN_PATH}"
17 done
18
19 for file in share/ruby-build/*; do
20 cp "${file}" "${SHARE_PATH}"
21 done
22
23 echo "Installed ruby-build at ${PREFIX}"
Something went wrong with that request. Please try again.