summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog4
-rw-r--r--eclass/elisp.eclass2
2 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 73cf477..3c30b1b 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-27 Ulrich Mueller <ulm@gentoo.org>
+
+ * elisp.eclass (elisp_src_unpack): Handle the case of empty ${A}.
+
2008-08-23 Ulrich Mueller <ulm@gentoo.org>
* elisp.eclass (VERSION): Remove unnecessary global variable to
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 2eeadf4..4aef1b1 100644
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -53,7 +53,7 @@ elisp_pkg_setup() {
}
elisp_src_unpack() {
- unpack ${A}
+ [ -n "${A}" ] && unpack ${A}
if [ -f ${P}.el ]; then
mv ${P}.el ${PN}.el || die "mv ${P}.el ${PN}.el failed"
fi