/vservers directory within a vserver. This throws off the
vbuild-nightly, as it checks whether it is operating within a vserver
by checking for the existence of the /vservers directory.
Changed it to check for /etc/vservers instead, which isn't exactly the
best test either. It would be better if one could easily check
whether one was running inside the root context or inside a vserver.
echo TAGSRELEASE="$TAGSRELEASE"
echo -n "(might be unexpanded)"
echo WEBPATH="$WEBPATH"
- if [ -d /vservers ] ; then
+ if [ -d /etc/vservers ] ; then
echo PLDISTROTAGS="$PLDISTROTAGS"
else
echo "XXXXXXXXXXXXXXXXXXXX Contents of tags definition file /build/$PLDISTROTAGS"
BASE=$(echo ${BASE} | sed $sedargs)
WEBPATH=$(echo ${WEBPATH} | sed $sedargs)
- if [ ! -d /vservers ] ; then
+ if [ ! -d /etc/vservers ] ; then
# in the vserver
echo "==================== Within vserver BEG $(date)"
build