summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2007-02-22 12:21:11 +0000
committerPaul Nasrat <pnasrat@redhat.com>2007-02-22 12:21:11 +0000
commitdf0ad26d266c3cbb966ade76b55936af704fe1bc (patch)
tree756bc637575c8280719e2373c4ac6da9be567c84 /scripts
parentf94c3f49cb8cb2268657947c802c4edab20bdbd5 (diff)
downloadlibrpm-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-xscripts/rpm.daily4
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