|
56 | 56 | if [ "${LIBPRQLR_BUILD}" = "false" ]; then
|
57 | 57 | if [ -f "tools/lib-sums.tsv" ] && [ ! -f "${LIBPRQLR_PATH}" ]; then
|
58 | 58 | cat <<EOF
|
59 |
| ---------------- [TRY TO DOWNLOAD PRE-BUILT BINARY] --------------- |
| 59 | +---------------- [TRY TO DOWNLOAD PRE-BUILT BINARY] ---------------- |
60 | 60 | The library was not found at <${LIBPRQLR_PATH}>.
|
61 |
| -Trying to download pre-built binary from the Internet. |
62 |
| -$("${R_HOME}/bin${R_ARCH_BIN}/Rscript" "tools/prep-lib.R" && echo "Done!" || echo "Failed to download pre-built binary.") |
63 |
| ------------------------------------------------------------------- |
| 61 | +Trying to download pre-built binary from the Internet... |
| 62 | +-------------------------------------------------------------------- |
64 | 63 | EOF
|
| 64 | + "${R_HOME}/bin${R_ARCH_BIN}/Rscript" "tools/prep-lib.R" && echo "Done!" || |
| 65 | + echo "Failed to download pre-built binary." |
65 | 66 | fi
|
66 | 67 |
|
67 | 68 | if [ -f "${LIBPRQLR_PATH}" ] && [ "${LIBPRQLR_PATH}" != "${LIBPRQLR_DEFAULT_PATH}" ]; then
|
68 | 69 | cat <<EOF
|
69 |
| ------------------------- [COPYING BINARY] ------------------------ |
| 70 | +------------------------- [COPYING BINARY] ------------------------- |
70 | 71 | Copying <${LIBPRQLR_PATH}> to <${LIBPRQLR_DEFAULT_PATH}>.
|
71 |
| -$(mkdir -p "$(dirname "${LIBPRQLR_DEFAULT_PATH}")") |
72 |
| -$(cp "${LIBPRQLR_PATH}" "${LIBPRQLR_DEFAULT_PATH}" && echo "Done!" || echo "Failed to copy binary.") |
73 |
| ------------------------------------------------------------------- |
| 72 | +-------------------------------------------------------------------- |
74 | 73 | EOF
|
| 74 | + $(mkdir -p "$(dirname "${LIBPRQLR_DEFAULT_PATH}")") |
| 75 | + $(cp "${LIBPRQLR_PATH}" "${LIBPRQLR_DEFAULT_PATH}" && echo "Done!" || echo "Failed to copy binary.") |
75 | 76 | fi
|
76 | 77 |
|
77 | 78 | if [ -f "${LIBPRQLR_DEFAULT_PATH}" ]; then
|
@@ -100,9 +101,9 @@ detect_target_option() {
|
100 | 101 | --host=*)
|
101 | 102 | specified_target="$(echo "${option}" | sed -e 's/--host=//' | sed -E 's/([0-9]+\.)*[0-9]+$//')"
|
102 | 103 | cat <<EOF
|
103 |
| -------------------------- [DETECTED TARGET] ------------------------- |
| 104 | +------------------------ [DETECTED TARGET] ------------------------ |
104 | 105 | The target was specified as <${specified_target}> via the '--host' option.
|
105 |
| ---------------------------------------------------------------------- |
| 106 | +------------------------------------------------------------------- |
106 | 107 | EOF
|
107 | 108 | export TARGET="${specified_target}"
|
108 | 109 | ;;
|
|
0 commit comments