diff options
author | Karel Klic <kklic@redhat.com> | 2009-11-12 15:27:35 +0100 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2009-11-12 15:27:35 +0100 |
commit | 43761c9351636628da1c37035fa2dcea523cfa80 (patch) | |
tree | dd444131dd32020f3cf12d018a48a814aee4cace /src | |
parent | cb3c80e309ca3d679a381ec419ec8658a6109144 (diff) | |
parent | 9b5293641cdc39bb33b39f6773c0537700514f4e (diff) | |
download | abrt-43761c9351636628da1c37035fa2dcea523cfa80.tar.gz abrt-43761c9351636628da1c37035fa2dcea523cfa80.tar.xz abrt-43761c9351636628da1c37035fa2dcea523cfa80.zip |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src')
-rwxr-xr-x | src/Daemon/abrt-debuginfo-install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Daemon/abrt-debuginfo-install b/src/Daemon/abrt-debuginfo-install index dc8e595d..b3d72922 100755 --- a/src/Daemon/abrt-debuginfo-install +++ b/src/Daemon/abrt-debuginfo-install @@ -112,7 +112,7 @@ cleanup_and_report_missing() { # If cachedir is specified, tempdir is just a staging area. Delete it if test x"$cachedir" != x""; then $debug && echo "Removing $tempdir" - $debug || -rf "$tempdir" + $debug || rm -rf "$tempdir" fi for missing in $missing_build_ids; do @@ -135,9 +135,9 @@ print_package_names() { else echo "`count_words $missing_debuginfo_files` missing debuginfos, getting package list" >&2 fi - local cmd="yum $yumopts --enablerepo='*debuginfo*' --quiet provides $missing_debuginfo_files 2>&1" + local cmd="yum $yumopts --enablerepo='*debuginfo*' --quiet provides $missing_debuginfo_files" echo "$cmd" >"yum_provides.$1.OUT" - local yum_provides_OUT=`$cmd` + local yum_provides_OUT=`$cmd 2>&1` local err=$? printf "%s\nexitcode:%s\n" "$yum_provides_OUT" $err >>"yum_provides.$1.OUT" test $err = 0 || exit 2 |