use $_<prog> (which expands to absolute paths) instead of trusting into a good $PATH
[util-vserver.git] / util-vserver / scripts / vpkg
index 7eddabb..2188dfd 100755 (executable)
@@ -84,7 +84,7 @@ case "$style" in
            ## rpm outputs sometimes '(contains no files)', so return
            ## only the valid output
            (get-conffiles)
-               rpm_param=( -qac --pipe "sed '\!^/!p;d'" );;
+               rpm_param=( -qac --pipe "$_SED '\!^/!p;d'" );;
            (install)
                rpm_param=( -Uvh "$@" )
                apt_param=( install "$@" )