sys-apps/man-db: fix quoting in cronjob.
authorRobin H. Johnson <robbat2@gentoo.org>
Tue, 21 Feb 2017 21:50:36 +0000 (13:50 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Tue, 21 Feb 2017 21:51:02 +0000 (13:51 -0800)
Package-Manager: portage-2.3.3
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
sys-apps/man-db/files/man-db.cron

index d94e594d1acfb29b0a1865f685a2ebb70ccf83ed..b3794f255734121683feaeb5751cf9d18ba75ca7 100644 (file)
@@ -2,7 +2,7 @@
 
 # Use same perms/settings as the ebuild.
 cachedir="/var/cache/man"
-if [ ! -d ${cachedir} ]; then
+if [ ! -d "${cachedir}" ]; then
        mkdir -p "${cachedir}"
        chown man:man "${cachedir}"
        chmod 0755 "${cachedir}"