1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Change to 'bash -c' instead of 'eval'

This commit is contained in:
phenonymous
2018-11-29 23:20:17 +01:00
parent cd200b7a41
commit e1dc74f13a
171 changed files with 382 additions and 382 deletions

View File

@ -46,9 +46,9 @@ if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
else
if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl and ancient bash
(eval "$(curl -so- "${BASE_URL}/apply-colors.sh")")
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
else
# Linux ships with wget
(eval "$(wget -qO- "${BASE_URL}/apply-colors.sh")")
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
fi
fi