diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-31 23:22:11 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-09-26 05:41:51 +0200 |
commit | 1443c68987f62df1124909c2cecb31f1e4fd8bb2 (patch) | |
tree | 5c6032424fd04581e4f5020bfefdc64066b34271 | |
parent | 57b9899fcba7328dc14b9c2eb1f16094f9680eee (diff) | |
download | meta-openembedded-1443c68987f62df1124909c2cecb31f1e4fd8bb2.tar.gz |
memcached: add bash to RDEPENDS_memcached
Bashism:
possible bashism in memcached/etc/init.d/memcached line 40 (bash arrays, ${name[0|*|@]}):
if [ -r "${FILES[0]}" ]; then
possible bashism in memcached/etc/init.d/memcached line 42 (bash arrays, ${name[0|*|@]}):
for FILE in "${FILES[@]}";
possible bashism in memcached/etc/init.d/memcached line 53 (should be VAR="${VAR}foo"):
CONFIGS+=($NAME)
possible bashism in memcached/etc/init.d/memcached line 54 (should be 'b = a'):
elif [ "memcached_$2" == "$NAME" ];
possible bashism in memcached/etc/init.d/memcached line 62 (bash arrays, ${name[0|*|@]}):
if [ ${#CONFIGS[@]} == 0 ];
possible bashism in memcached/etc/init.d/memcached line 71 (bash arrays, ${name[0|*|@]}):
CONFIG_NUM=${#CONFIGS[@]}
possible bashism in memcached/etc/init.d/memcached line 72 ('((' should be '$(('):
for ((i=0; i < $CONFIG_NUM; i++)); do
possible bashism in memcached/etc/init.d/memcached line 73 (bash arrays, ${name[0|*|@]}):
NAME=${CONFIGS[${i}]}
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r-- | meta-networking/recipes-support/memcached/memcached_1.4.17.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.17.bb b/meta-networking/recipes-support/memcached/memcached_1.4.17.bb index e61bc74cb..4d93f041e 100644 --- a/meta-networking/recipes-support/memcached/memcached_1.4.17.bb +++ b/meta-networking/recipes-support/memcached/memcached_1.4.17.bb | |||
@@ -15,7 +15,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff" | |||
15 | inherit autotools | 15 | inherit autotools |
16 | 16 | ||
17 | DEPENDS += "libevent" | 17 | DEPENDS += "libevent" |
18 | RDEPENDS_${PN} += "perl perl-module-posix perl-module-autoloader perl-module-tie-hash" | 18 | RDEPENDS_${PN} += "perl perl-module-posix perl-module-autoloader \ |
19 | perl-module-tie-hash bash \ | ||
20 | " | ||
19 | 21 | ||
20 | SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz \ | 22 | SRC_URI = "http://www.memcached.org/files/${BP}.tar.gz \ |
21 | file://configure.patch \ | 23 | file://configure.patch \ |