commit: 401cbc5c998ed65d8421cae8f2a0c39ca798a626
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 00:21:49 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 00:21:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=401cbc5c
sys-apps/mlocate: tweak cronjob syntax slightly #559568
These two forms are the same, but hopefully people don't get confused
by the explicit filename passing to awk.
sys-apps/mlocate/files/mlocate.cron-r2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/mlocate/files/mlocate.cron-r2
b/sys-apps/mlocate/files/mlocate.cron-r2
index 51cb504..cf42104 100644
--- a/sys-apps/mlocate/files/mlocate.cron-r2
+++ b/sys-apps/mlocate/files/mlocate.cron-r2
@@ -28,7 +28,7 @@ fi
# check the config file
NODEVS=""
if [ ! -f /etc/updatedb.conf ]; then
- NODEVS=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" {
print $2 }')
+ NODEVS=$(awk '$1 == "nodev" && $2 != "rootfs" { print $2 }'
/proc/filesystems)
fi
# alter the priority of the updatedb process