X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvrpm-worker;h=d38c9a0f80ce35ce5b332c091da40f22f420ce75;hb=c574f33e210c3438945209d685c218c51f74cbaa;hp=85cfd2898e29bf205019da49584b5da1ef690381;hpb=b562f3d09686bb1686646c949b6f92c94eb2d64c;p=util-vserver.git diff --git a/util-vserver/scripts/vrpm-worker b/util-vserver/scripts/vrpm-worker index 85cfd28..d38c9a0 100755 --- a/util-vserver/scripts/vrpm-worker +++ b/util-vserver/scripts/vrpm-worker @@ -1,4 +1,4 @@ -#! /bin/bash -e +#! /bin/bash # $Id$ # Copyright (C) 2003 Enrico Scholz @@ -16,11 +16,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -set -x +set -e -: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars} +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} test -e "$UTIL_VSERVER_VARS" || { - echo "Can not find util-vserver installation; aborting..." + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 exit 1 } . "$UTIL_VSERVER_VARS" @@ -31,4 +31,4 @@ shift pkgInit "$vserver" rpm -exec $RPM_BINARY --root "$VDIR" "$@" \ No newline at end of file +exec $RPM_BINARY --root "$VDIR" "$@"