summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-16 00:34:55 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-16 00:34:55 +0000
commit4509f294512c7903bdc0a478d29b7265f486a2e5 (patch)
treecaef1e211497d051332d74de3841a22d6cee84fd /sys-devel/prelink/files
parentSimplify ebuild greatly by removing all the extraneous gcc cruft. (diff)
downloadhistorical-4509f294512c7903bdc0a478d29b7265f486a2e5.tar.gz
historical-4509f294512c7903bdc0a478d29b7265f486a2e5.tar.bz2
historical-4509f294512c7903bdc0a478d29b7265f486a2e5.zip
Fixup bashism #258300 by Felipe Lessa.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/prelink/files')
-rw-r--r--sys-devel/prelink/files/prelink.cron4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/prelink/files/prelink.cron b/sys-devel/prelink/files/prelink.cron
index 945d419d5083..f52d576cd152 100644
--- a/sys-devel/prelink/files/prelink.cron
+++ b/sys-devel/prelink/files/prelink.cron
@@ -31,7 +31,7 @@ if [ ! -f /etc/prelink.cache -o -f /var/lib/misc/prelink.force ] \
rm -f /etc/prelink.cache /var/lib/misc/prelink.force
PRELINK_OPTS="$PRELINK_OPTS -f"
date > /var/lib/misc/prelink.full
- cp -a /var/lib/misc/prelink.{full,quick}
+ cp -a /var/lib/misc/prelink.full /var/lib/misc/prelink.quick
elif [ -n "$PRELINK_FULL_TIME_INTERVAL" \
-a "`find /var/lib/misc/prelink.full -mtime -${PRELINK_FULL_TIME_INTERVAL} 2>/dev/null`" \
= /var/lib/misc/prelink.full ]; then
@@ -47,7 +47,7 @@ elif [ -n "$PRELINK_FULL_TIME_INTERVAL" \
PRELINK_OPTS="$PRELINK_OPTS -q"
else
date > /var/lib/misc/prelink.full
- cp -a /var/lib/misc/prelink.{full,quick}
+ cp -a /var/lib/misc/prelink.full /var/lib/misc/prelink.quick
fi
echo /usr/sbin/prelink -av $PRELINK_OPTS > /var/log/prelink.log