diff --git a/misc/tools.func b/misc/tools.func index 07b822096..d5edde6c7 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1407,7 +1407,9 @@ function setup_gs() { rm -rf "$TMP_DIR" } $STD apt-get install -y build-essential libpng-dev zlib1g-dev - ./configure >/dev/null && make && sudo make install >/dev/null + $STD ./configure >/dev/null + $STD make + $STD sudo make install local EXIT_CODE=$? hash -r if [[ ! -x "$(command -v gs)" ]]; then