From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SXeC2-0006wt-34 for garchives@archives.gentoo.org; Thu, 24 May 2012 19:59:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22186E090F; Thu, 24 May 2012 19:58:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E5D82E090F for ; Thu, 24 May 2012 19:58:47 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 502181B4010 for ; Thu, 24 May 2012 19:58:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C1B3AE5432 for ; Thu, 24 May 2012 19:58:44 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <1337888789.9031a6f2c6825cd99da48952f44165d64f575192.titanofold@gentoo> Subject: [gentoo-commits] proj/pgsql-patches:initscripts commit in: / X-VCS-Repository: proj/pgsql-patches X-VCS-Files: postgresql.init X-VCS-Directories: / X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: 9031a6f2c6825cd99da48952f44165d64f575192 X-VCS-Branch: initscripts Date: Thu, 24 May 2012 19:58:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 57dd6aef-1af6-4665-88ed-894eba3fc46e X-Archives-Hash: eb48418f33257c3dfa02d0da07193ace commit: 9031a6f2c6825cd99da48952f44165d64f575192 Author: Aaron W. Swenson gentoo org> AuthorDate: Thu May 24 19:46:29 2012 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Thu May 24 19:46:29 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pgsql-patches= .git;a=3Dcommit;h=3D9031a6f2 Missed a path variable. --- postgresql.init | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/postgresql.init b/postgresql.init index ae3c561..8217299 100755 --- a/postgresql.init +++ b/postgresql.init @@ -8,7 +8,7 @@ extra_started_commands=3D"reload" get_config() { [ -f ${PGDATA}/postgresql.conf ] || return 1 =20 - eval echo $(sed -e 's:#.*::' ${PGDATA}/postgresql.conf | awk '$1 =3D= =3D "'$1'" { print $2 =3D=3D "=3D" ? $3 : $2 }') + eval echo $(sed -e 's:#.*::' ${PGDATA%/}/postgresql.conf | awk '$1 =3D= =3D "'$1'" { print $2 =3D=3D "=3D" ? $3 : $2 }') } =20 depend() {