aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Danny van Dyk <dvandyk@exherbo.org> 2007-01-07 01:39:24 +0000
committerAvatar Danny van Dyk <dvandyk@exherbo.org> 2007-01-07 01:39:24 +0000
commitc810eb95bb62c7ce8fb8776330e4da0bdfc8559a (patch)
treebf7a7d26cf3a3b70f33a62a1a504396f15e33f7e
parentcaa183f581cdec6b4c9b53842dc445a94ad928b6 (diff)
downloadpaludis-c810eb95bb62c7ce8fb8776330e4da0bdfc8559a.tar.gz
paludis-c810eb95bb62c7ce8fb8776330e4da0bdfc8559a.tar.xz
Fix directory creation. Fix copyright headers.
-rw-r--r--cran/cran.bash5
-rw-r--r--paludis/repositories/cran/cran_description.cc2
-rw-r--r--paludis/repositories/cran/cran_installed_repository.cc2
-rw-r--r--paludis/repositories/cran/cran_repository.cc2
4 files changed, 6 insertions, 5 deletions
diff --git a/cran/cran.bash b/cran/cran.bash
index 04e0925..db88e28 100644
--- a/cran/cran.bash
+++ b/cran/cran.bash
@@ -1,7 +1,7 @@
#!/bin/bash
# vim: set sw=4 sts=4 et :
-# Copyright (c) 2006 Danny van Dyk <kugelfang@gentoo.org>
+# Copyright (c) 2006,2007 Danny van Dyk <kugelfang@gentoo.org>
#
# Based in part upon ebuild.sh from Portage, which is Copyright 1995-2005
# Gentoo Foundation and distributed under the terms of the GNU General
@@ -128,7 +128,8 @@ cran_do_install() {
R CMD INSTALL -l "${IMAGE}/${PALUDIS_CRAN_LIBRARY##${ROOT}}" ${PN}
if [[ ${IS_BUNDLE} == "yes" ]] ; then
- cp "${PN}/DESCRIPTION" "${IMAGE}/${PALUDIS_CRAN_LIBRARY##${ROOT}}/paludis/bundles/"
+ mkdir -p "${IMAGE}/${PALUDIS_CRAN_LIBRARY##${ROOT}}/paludis/bundles/"
+ cp "${PN}/DESCRIPTION" "${IMAGE}/${PALUDIS_CRAN_LIBRARY##${ROOT}}/paludis/bundles/${PN}.DESCRIPTION"
fi
}
diff --git a/paludis/repositories/cran/cran_description.cc b/paludis/repositories/cran/cran_description.cc
index 924724d..d77aa8e 100644
--- a/paludis/repositories/cran/cran_description.cc
+++ b/paludis/repositories/cran/cran_description.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006 Danny van Dyk <kugelfang@gentoo.org>
+ * Copyright (c) 2006,2007 Danny van Dyk <kugelfang@gentoo.org>
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
diff --git a/paludis/repositories/cran/cran_installed_repository.cc b/paludis/repositories/cran/cran_installed_repository.cc
index d3705d6..cb022f3 100644
--- a/paludis/repositories/cran/cran_installed_repository.cc
+++ b/paludis/repositories/cran/cran_installed_repository.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006 Danny van Dyk <kugelfang@gentoo.org>
+ * Copyright (c) 2006,2007 Danny van Dyk <kugelfang@gentoo.org>
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
diff --git a/paludis/repositories/cran/cran_repository.cc b/paludis/repositories/cran/cran_repository.cc
index 487ccdb..ec82ddc 100644
--- a/paludis/repositories/cran/cran_repository.cc
+++ b/paludis/repositories/cran/cran_repository.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006 Danny van Dyk <kugelfang@gentoo.org>
+ * Copyright (c) 2006,2007 Danny van Dyk <kugelfang@gentoo.org>
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General