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
commit956c4b06c88b486041a0908477a7ce73008d4680 (patch)
treed378f980dff80c84e2b948de5e62a7f4ccc380cd /sys-devel/prelink/files
parentSimplify ebuild greatly by removing all the extraneous gcc cruft. (diff)
downloadgentoo-2-956c4b06c88b486041a0908477a7ce73008d4680.tar.gz
gentoo-2-956c4b06c88b486041a0908477a7ce73008d4680.tar.bz2
gentoo-2-956c4b06c88b486041a0908477a7ce73008d4680.zip
Fixup bashism #258300 by Felipe Lessa.
(Portage version: 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