summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorLeonardo Valeri Manera <l.valerimanera@gmail.com>2008-02-27 18:58:37 +0000
committerLeonardo Valeri Manera <l.valerimanera@gmail.com>2008-02-27 18:58:37 +0000
commit06f2dc941bb5612fb77a20b86eefd2a502471d2b (patch)
tree76c729b619ef9650c06a4e31a233a8879002deca /eclass
parenteclass/eggs.eclass: this is better, lets use dobin to install (diff)
downloadlisp-06f2dc941bb5612fb77a20b86eefd2a502471d2b.tar.gz
lisp-06f2dc941bb5612fb77a20b86eefd2a502471d2b.tar.bz2
lisp-06f2dc941bb5612fb77a20b86eefd2a502471d2b.zip
eclass/eggs.eclass: patch binary locations in setup-info files.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eggs.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/eggs.eclass b/eclass/eggs.eclass
index 1fd38751..bf61f682 100644
--- a/eclass/eggs.eclass
+++ b/eclass/eggs.eclass
@@ -52,7 +52,7 @@ fi
# Install egg files into the correct locations.
eggs-install_files() {
ebegin "Installing files"
- eggs-install_files_recursive
+ eggs-install_files_recursive "${@}"
einfo "Done with installation."
}
@@ -104,6 +104,7 @@ eggs-set_paths() {
ebegin "Processing setup files"
for setup_file in $(ls *.setup-info); do
ebegin " ${setup_file}"
+ sed -i -e "s:${S}/binaries:/usr/bin:g" ${setup_file} || die "failed setting binary paths in ${setup_file}"
sed -i -e "s:${S}/install:${CHICKEN_REPOSITORY}:g" ${setup_file} || die "failed setting extension paths in ${setup_file}"
sed -i -e "s:${CHICKEN_REPOSITORY}/\(.*\).html:${EGGDOC_DIR}/\1.html:g" ${setup_file} || die "failed setting documentation paths in ${setup_file}"
eend 0