summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-08-27 06:26:42 +0000
committerUlrich Müller <ulm@gentoo.org>2008-08-27 06:26:42 +0000
commite4b8569d3ba62ae8e6d64d420f155db175000030 (patch)
tree38d0594ade0ff7a713a1ae718b2805a3ddf04894
parentRemove global VERSION variable in elisp.eclass to reduce namespace pollution. (diff)
downloademacs-e4b8569d3ba62ae8e6d64d420f155db175000030.tar.gz
emacs-e4b8569d3ba62ae8e6d64d420f155db175000030.tar.bz2
emacs-e4b8569d3ba62ae8e6d64d420f155db175000030.zip
Handle the case of empty ${A} in src_unpack.
svn path=/emacs-overlay/; revision=1138
-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