aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-02-17 17:29:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-02-17 17:29:17 +0000
commit7618cd7cbe66065b4c185d0805e8982504bee237 (patch)
tree641cd70f97f478fdc9182e90979cc371e6d7887c /package
parent34058060a2e17220a06d26f7d189be13d1aad07a (diff)
downloadupstream-7618cd7cbe66065b4c185d0805e8982504bee237.tar.gz
upstream-7618cd7cbe66065b4c185d0805e8982504bee237.tar.bz2
upstream-7618cd7cbe66065b4c185d0805e8982504bee237.zip
fix incorrect quoting in busybox cron init script
SVN-Revision: 14540
Diffstat (limited to 'package')
-rw-r--r--package/busybox/Makefile2
-rwxr-xr-xpackage/busybox/files/cron2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index ae379045ae..b0f0fc8f28 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=busybox
PKG_VERSION:=1.11.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.busybox.net/downloads \
diff --git a/package/busybox/files/cron b/package/busybox/files/cron
index 9a31392717..f247130608 100755
--- a/package/busybox/files/cron
+++ b/package/busybox/files/cron
@@ -3,7 +3,7 @@
START=50
start () {
- [ -z $(ls /etc/crontabs/) ] && exit 1
+ [ -z "$(ls /etc/crontabs/)" ] && exit 1
mkdir -p /var/spool/cron
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs