|
@@ -48,7 +48,7 @@ install_geckodriver() {
|
48
|
48
|
|
49
|
49
|
if [ -z "$1" ]; then
|
50
|
50
|
if [ -z "$VIRTUAL_ENV" ]; then
|
51
|
|
- echo "geckodriver can't be installed because VIRTUAL_ENV is not set, you should download it from\n $GECKODRIVER_URL"
|
|
51
|
+ printf "geckodriver can't be installed because VIRTUAL_ENV is not set, you should download it from\n %s" "$GECKODRIVER_URL"
|
52
|
52
|
exit
|
53
|
53
|
else
|
54
|
54
|
GECKODRIVER_DIR="$VIRTUAL_ENV/bin"
|
|
@@ -58,7 +58,7 @@ install_geckodriver() {
|
58
|
58
|
mkdir -p -- "$GECKODRIVER_DIR"
|
59
|
59
|
fi
|
60
|
60
|
|
61
|
|
- echo "Installing $GECKODRIVER_DIR/geckodriver from\n $GECKODRIVER_URL"
|
|
61
|
+ printf "Installing %s/geckodriver from\n %s" "$GECKODRIVER_DIR" "$GECKODRIVER_URL"
|
62
|
62
|
|
63
|
63
|
FILE="`mktemp`"
|
64
|
64
|
wget -qO "$FILE" -- "$GECKODRIVER_URL" && tar xz -C "$GECKODRIVER_DIR" -f "$FILE" geckodriver
|