summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-07-22 14:07:01 +0000
committerStuart Herbert <stuart@gentoo.org>2004-07-22 14:07:01 +0000
commit21d755ec0baee255076961f3cea80af7964862f1 (patch)
treedbf5be6910e36e8aa442153fb397c52a33f0669a /eclass
parentCorrected "KEYWORDS" (Manifest recommit) (diff)
downloadgentoo-2-21d755ec0baee255076961f3cea80af7964862f1.tar.gz
gentoo-2-21d755ec0baee255076961f3cea80af7964862f1.tar.bz2
gentoo-2-21d755ec0baee255076961f3cea80af7964862f1.zip
Stripped leading ./ strings from config-owned and server-owned files
Diffstat (limited to 'eclass')
-rw-r--r--eclass/webapp.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass
index 33500184e302..ad9b04cb0eea 100644
--- a/eclass/webapp.eclass
+++ b/eclass/webapp.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.28 2004/07/17 15:21:01 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.29 2004/07/22 14:07:01 stuart Exp $
#
# eclass/webapp.eclass
# Eclass for installing applications to run under a web server
@@ -121,7 +121,7 @@ function webapp_configfile ()
webapp_checkfileexists "$1" "$D"
local MY_FILE="`webapp_strip_appdir \"$1\"`"
- echo $MY_FILE
+ MY_FILE="`webapp_strip_cwd \"$MY_FILE\"`"
einfo "(config) $MY_FILE"
echo "$MY_FILE" >> ${D}${WA_CONFIGLIST}
@@ -202,6 +202,7 @@ function webapp_serverowned ()
{
webapp_checkfileexists "$1" "$D"
local MY_FILE="`webapp_strip_appdir \"$1\"`"
+ MY_FILE="`webapp_strip_cwd \"$MY_FILE\"`"
einfo "(server owned) $MY_FILE"
echo "$MY_FILE" >> "${D}${WA_SOLIST}"