diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi index 4437c4b..6e6f369 100755 --- a/webbuild/webbuild-cgi +++ b/webbuild/webbuild-cgi @@ -484,7 +484,7 @@ if [ "$REQUEST" = "environmentsearch" ]; then echo -n "
Environment search results for \"$ENVSEARCHTEXT\":
" echo -n "
"
    echo -n "Installed packages providing '$ENVSEARCHTEXT':
" - WHAT_PROVIDES=`$SUDO_WRAPPER 0 $ENVIRONMENT "$USER" "" "rpm -q --what-provides \"$ENVSEARCHTEXT\"" | sort -u` + WHAT_PROVIDES=`$SUDO_WRAPPER binary $ENVIRONMENT "$USER" "" "rpm -q --what-provides \"$ENVSEARCHTEXT\"" | sort -u` echo -n "$WHAT_PROVIDES
" if [ "${WHAT_PROVIDES:0:10}" != "no package" ]; then for f in $WHAT_PROVIDES; do @@ -542,7 +542,7 @@ if [ "$REQUEST" = "rpmmanager" ]; then rpmmanagerfiles=$rpmmanagerdir/$rpmmanagermask if [ "${rpmmanagermode}" = "environment" ]; then # local files in environment - $SUDO_WRAPPER 0 $ENVIRONMENT "$USER" "" "ls -t $rpmmanagerfiles 2>/dev/null" | \ + $SUDO_WRAPPER binary $ENVIRONMENT "$USER" "" "ls -t $rpmmanagerfiles 2>/dev/null" | \ while read f; do pkgname=`basename $f` echo -n "
" fi echo -n "Current $PACKAGE.spec in build environment:]]>" # else # echo ""