Skip to content

Commit ff2ebdf

Browse files
committedMar 6, 2018
bootstrap: some cleanup tweaks.
- Use Bash for nicer syntax below (`&>`) - Don't need to set `CC` to `gcc` - Ensure we're in the right path
1 parent e31d0c3 commit ff2ebdf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎script/bootstrap

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
set -e
4-
export CC=gcc
4+
5+
cd "$(dirname "$0")/.."
56

67
echo "==> Installing gem dependencies…"
7-
bundle check --path vendor/gems 2>&1 > /dev/null || {
8+
bundle check --path vendor/gems &>/dev/null || {
89
time bundle install --binstubs bin --path vendor/gems
910
}
1011

0 commit comments

Comments
 (0)
Please sign in to comment.