From a9c5cded5cbca54bee9fbd959a4c8a83d41a556f Mon Sep 17 00:00:00 2001 From: Eusebio Resende Date: Fri, 23 Oct 2020 07:35:54 -0400 Subject: [PATCH] [DB-32172] pynuoadmin error reference from client package nuocmd command After the change on pynuoadmin directory structure, the nuocmd script needs to be updated with the new location of pynuoadmin folder, specifically the script nuodb_cli.py --- bin/nuocmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/nuocmd b/bin/nuocmd index 794002c..15503f3 100755 --- a/bin/nuocmd +++ b/bin/nuocmd @@ -22,7 +22,7 @@ fi # Find the pynuoadmin installation _pkgdir=etc/python/site-packages -_cli="$_pkgdir/nuodb_cli.py" +_cli="$_pkgdir/pynuoadmin/nuodb_cli.py" _home= test -n "$NUOCLIENT_HOME" && test -f "$NUOCLIENT_HOME/$_cli" \ && _home="$NUOCLIENT_HOME" @@ -31,4 +31,4 @@ test -z "$_home" && test -f "${DIR%/*}/$_cli" \ test -n "$_home" || die "Cannot locate pynuoadmin installation" export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$_home/$_pkgdir" -exec "$_python" -m nuodb_cli "$@" +exec "$_python" -m pynuoadmin.nuodb_cli "$@"