SOURCES: bash-completion-vserver.sh - handle li64

glen glen at pld-linux.org
Tue Nov 18 02:06:26 CET 2008


Author: glen                         Date: Tue Nov 18 01:06:26 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- handle li64

---- Files affected:
SOURCES:
   bash-completion-vserver.sh (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/bash-completion-vserver.sh
diff -u SOURCES/bash-completion-vserver.sh:1.2 SOURCES/bash-completion-vserver.sh:1.3
--- SOURCES/bash-completion-vserver.sh:1.2	Tue Nov 18 02:03:51 2008
+++ SOURCES/bash-completion-vserver.sh	Tue Nov 18 02:06:20 2008
@@ -26,7 +26,7 @@
 
 have vserver-info && {
 
-: ${UTIL_VSERVER_VARS:=$(vserver-info - SYSINFO |grep prefix: | awk '{ print $2}')/lib/util-vserver/util-vserver-vars}
+: ${UTIL_VSERVER_VARS:=$(vserver-info - SYSINFO | grep prefix: | awk '{ 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" ]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/bash-completion-vserver.sh?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list