diff options
author | Paul Nasrat <pnasrat@redhat.com> | 2007-02-22 12:21:11 +0000 |
---|---|---|
committer | Paul Nasrat <pnasrat@redhat.com> | 2007-02-22 12:21:11 +0000 |
commit | df0ad26d266c3cbb966ade76b55936af704fe1bc (patch) | |
tree | 756bc637575c8280719e2373c4ac6da9be567c84 /scripts | |
parent | f94c3f49cb8cb2268657947c802c4edab20bdbd5 (diff) | |
download | librpm-tizen-df0ad26d266c3cbb966ade76b55936af704fe1bc.tar.gz librpm-tizen-df0ad26d266c3cbb966ade76b55936af704fe1bc.tar.bz2 librpm-tizen-df0ad26d266c3cbb966ade76b55936af704fe1bc.zip |
This patch ensures the rpm cronjob to record rpmpkgs uses the full path to
prevent potential PATH issues (rh#174211).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rpm.daily | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rpm.daily b/scripts/rpm.daily index c4478873f..a3406436c 100755 --- a/scripts/rpm.daily +++ b/scripts/rpm.daily @@ -1,4 +1,4 @@ #!/bin/sh -rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \ - | sort > /var/log/rpmpkgs +/bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \ + | /bin/sort > /var/log/rpmpkgs |