summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2018-02-21 20:46:24 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2018-02-21 21:31:12 +0100
commite2f15b33c49fb20a1a20a1fd56562214f12cc87d (patch)
treecc9906dc6d6e5d5b82fbf8428f39162c38346894 /manage.sh
parent4c995c4201370a54f5c9bceb3c74cff63d0f1ff2 (diff)
downloadsearxng-e2f15b33c49fb20a1a20a1fd56562214f12cc87d.tar.gz
searxng-e2f15b33c49fb20a1a20a1fd56562214f12cc87d.zip
change echo to printf
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/manage.sh b/manage.sh
index 625b34558..cf144f853 100755
--- a/manage.sh
+++ b/manage.sh
@@ -48,7 +48,7 @@ install_geckodriver() {
if [ -z "$1" ]; then
if [ -z "$VIRTUAL_ENV" ]; then
- echo "geckodriver can't be installed because VIRTUAL_ENV is not set, you should download it from\n $GECKODRIVER_URL"
+ printf "geckodriver can't be installed because VIRTUAL_ENV is not set, you should download it from\n %s" "$GECKODRIVER_URL"
exit
else
GECKODRIVER_DIR="$VIRTUAL_ENV/bin"
@@ -58,7 +58,7 @@ install_geckodriver() {
mkdir -p -- "$GECKODRIVER_DIR"
fi
- echo "Installing $GECKODRIVER_DIR/geckodriver from\n $GECKODRIVER_URL"
+ printf "Installing %s/geckodriver from\n %s" "$GECKODRIVER_DIR" "$GECKODRIVER_URL"
FILE="`mktemp`"
wget -qO "$FILE" -- "$GECKODRIVER_URL" && tar xz -C "$GECKODRIVER_DIR" -f "$FILE" geckodriver