Fix java-pkg_jar-from that Caster broke with his last --into addition.
authorPetteri Räty <betelgeuse@gentoo.org>
Mon, 29 Jan 2007 18:37:24 +0000 (18:37 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Mon, 29 Jan 2007 18:37:24 +0000 (18:37 +0000)
eclass/java-utils-2.eclass

index 101a0994aa7b89c4887405cd2259dfae821daaaf..5cf9efb3ea8890b3205798f657a702b24d2d9ca1 100644 (file)
@@ -6,7 +6,7 @@
 #
 # Licensed under the GNU General Public License, v2
 #
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.53 2007/01/28 21:11:42 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.54 2007/01/29 18:37:24 betelgeuse Exp $
 
 
 # -----------------------------------------------------------------------------
@@ -827,6 +827,7 @@ java-pkg_jar-from() {
                        ln -snf "${jar}" "${destjar}" \
                                || die "Failed to make symlink from ${jar} to ${destjar}"
                        [[ -z "${build_only}" ]] && java-pkg_record-jar_ "${target_pkg}" "${jar}"
+                       popd > /dev/null
                        return 0
                fi
        done