From c079c203b1dacb350c6fa4f8512576c8e5df8c09 Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 17 Feb 2009 17:29:17 +0000 Subject: [package] fix incorrect quoting in busybox cron init script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14540 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/Makefile | 2 +- package/busybox/files/cron | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/busybox/Makefile b/package/busybox/Makefile index ae379045a..b0f0fc8f2 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 9a3139271..f24713060 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 -- cgit v1.2.3