[packages/bash-completion-vserver] - use full path for vserver-info

adamg adamg at pld-linux.org
Sun Jan 27 12:19:18 CET 2019


commit cee3d4b9c4788a51f51c815c9c389034f5a6c354
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Sun Jan 27 12:19:11 2019 +0100

    - use full path for vserver-info

 bash-completion-vserver.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/bash-completion-vserver.sh b/bash-completion-vserver.sh
index 1541161..f377ac7 100644
--- a/bash-completion-vserver.sh
+++ b/bash-completion-vserver.sh
@@ -26,7 +26,7 @@
 
 have vserver-info && {
 
-: ${UTIL_VSERVER_VARS:=$(vserver-info - SYSINFO | awk '/prefix:/{ print $2}')/$(test -d /lib64 && echo lib64 || echo lib)/util-vserver/util-vserver-vars}
+: ${UTIL_VSERVER_VARS:=$(/usr/sbin/vserver-info - SYSINFO | awk '/prefix:/{ print $2}')/$(test -d /lib64 && echo lib64 || echo lib)/util-vserver/util-vserver-vars}
 test -e "$UTIL_VSERVER_VARS" && {
 
 if [ -z "$_VS_NEWLINE" -o -z "$VS_ALLVSERVERS_ARGS" ]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bash-completion-vserver.git/commitdiff/cee3d4b9c4788a51f51c815c9c389034f5a6c354



More information about the pld-cvs-commit mailing list