diff options
author | horchi <vdr@jwendel.de> | 2018-10-21 15:26:53 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2018-10-21 15:26:53 +0200 |
commit | e64767a31174f2ee3cda6480633559a1423a9fc0 (patch) | |
tree | 703a3b6aaaa80109c577cba672d51e06fa2dc46a /scripts/epgd-import-epglv | |
parent | 4a5f296bfca854ac48eb6b7dd3356ccc6c83edba (diff) | |
parent | e075382d665b60f0456cf9c3a6f6de120809cb2b (diff) | |
download | vdr-epg-daemon-e64767a31174f2ee3cda6480633559a1423a9fc0.tar.gz vdr-epg-daemon-e64767a31174f2ee3cda6480633559a1423a9fc0.tar.bz2 |
2018-10-21: version 1.1.146 (horchi)\n change: Fixed gentoo compile problem\n\n1.1.146
Diffstat (limited to 'scripts/epgd-import-epglv')
-rwxr-xr-x | scripts/epgd-import-epglv | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/epgd-import-epglv b/scripts/epgd-import-epglv index 2d9df0c..27aeb1b 100755 --- a/scripts/epgd-import-epglv +++ b/scripts/epgd-import-epglv @@ -1,8 +1,7 @@ -#!/bin/bash +#!/bin/bash -if [ -z MYSQL_PWD ]; then - export MYSQL_PWD=epg -fi +MYSQL_PWD=${MYSQL_PWD:-epg} +export MYSQL_PWD mysql -u root -e "DROP FUNCTION IF EXISTS epglv;" mysql -u root -e "DROP FUNCTION IF EXISTS epglvr;" |