* [gentoo-commits] repo/gentoo:master commit in: sys-apps/mlocate/files/
@ 2015-09-05 0:22 Mike Frysinger
0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2015-09-05 0:22 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-05 0:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-05 0:22 [gentoo-commits] repo/gentoo:master commit in: sys-apps/mlocate/files/ Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox