From 43ff9994fe2465c42bbeed2f9c72c6713e3d6820 Mon Sep 17 00:00:00 2001 From: Luis Date: Tue, 8 Oct 2024 15:44:09 -0300 Subject: [PATCH] =?UTF-8?q?Peque=C3=B1os=20cambios=20para=20mejorar=20la?= =?UTF-8?q?=20experiencia=20del=20usuario.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vistabula.mysql.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vistabula.mysql.sh b/vistabula.mysql.sh index a725cdf..ee85de3 100644 --- a/vistabula.mysql.sh +++ b/vistabula.mysql.sh @@ -1,5 +1,6 @@ #!/bin/sh -. .${1} +set -eu +. ${1} shift -mysql -h ${HOST} --port ${PORT} -u ${USER} -p${PASS} -B -r -e "SELECT * FROM ${VISTA};" > ${NAME} +mysql -h ${HOST} --port ${PORT} -u ${USER} -p${PASS} ${DB} -B -r -e "SELECT * FROM ${VISTA};" > ${NAME}