summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-12-23 18:05:21 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-12-23 18:05:21 +0000
commitb6e2161b45debb25ec17b929cc958a66f1ddd180 (patch)
tree2a013c5e4d1128a01f0e43579c6313136a7a4d86 /net-misc/memcached
parentmarked x86 per bug 447952 (diff)
downloadgentoo-2-b6e2161b45debb25ec17b929cc958a66f1ddd180.tar.gz
gentoo-2-b6e2161b45debb25ec17b929cc958a66f1ddd180.tar.bz2
gentoo-2-b6e2161b45debb25ec17b929cc958a66f1ddd180.zip
Fix bashisms in init.d/memcached.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-misc/memcached')
-rw-r--r--net-misc/memcached/ChangeLog5
-rw-r--r--net-misc/memcached/files/1.3.3/init6
2 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/memcached/ChangeLog b/net-misc/memcached/ChangeLog
index 94c69cb3607e..f82e25e6b306 100644
--- a/net-misc/memcached/ChangeLog
+++ b/net-misc/memcached/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/memcached
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.122 2012/10/20 16:53:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/ChangeLog,v 1.123 2012/12/23 18:05:21 robbat2 Exp $
+
+ 23 Dec 2012; Robin H. Johnson <robbat2@gentoo.org> files/1.3.3/init:
+ Fix bashisms in init.d/memcached.
20 Oct 2012; Raúl Porcel <armin76@gentoo.org> memcached-1.4.5-r1.ebuild:
s390 stable
diff --git a/net-misc/memcached/files/1.3.3/init b/net-misc/memcached/files/1.3.3/init
index 6c9d2a641e08..facaf5cc64a6 100644
--- a/net-misc/memcached/files/1.3.3/init
+++ b/net-misc/memcached/files/1.3.3/init
@@ -1,17 +1,17 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.3.3/init,v 1.2 2011/12/31 20:36:20 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.3.3/init,v 1.3 2012/12/23 18:05:21 robbat2 Exp $
CONF="${SVCNAME#*.}"
CONFBASE="/etc/conf.d/memcached"
[ -z "${PIDBASE}" ] && PIDBASE="/var/run/memcached/memcached"
-[ "${CONF}" == "memcached" ] && CONF=''
+[ "${CONF}" = "memcached" ] && CONF=''
if [ -n "${CONF}" ]; then
PIDFILE="${PIDBASE}-${PORT}.${CONF}.pid"
CONFSRC="${CONFBASE}.${CONF}"
if [ -f "${CONFSRC}" ]; then
- source "${CONFSRC}"
+ . "${CONFSRC}"
else
eerror "The configuration file $CONFSRC was not found!"
fi