Silenced warnings when the argument value includes spaces.
authorPetteri Räty <betelgeuse@gentoo.org>
Fri, 10 Nov 2006 20:44:11 +0000 (20:44 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Fri, 10 Nov 2006 20:44:11 +0000 (20:44 +0000)
eclass/java-utils-2.eclass

index 31e1c90f321066162e11fc97ca5c2578e6f10966..d683bedba229dd5a6a561110e689ec87b327e3a2 100644 (file)
@@ -557,7 +557,7 @@ java-pkg_dolauncher() {
                if [[ "${var:0:2}" == "--" ]]; then
                        local var=${var:2}
                        echo "gjl_${var}=\"${value}\"" >> "${var_tmp}"
-                       local gjl_${var}=${value}
+                       local gjl_${var}="${value}"
                elif [[ "${var}" == "-into" ]]; then
                        target_dir="${value}"
                elif [[ "${var}" == "-pre" ]]; then