bazel.eclass: fix info message order
authorJason Zaman <perfinion@gentoo.org>
Tue, 1 Oct 2019 14:29:15 +0000 (22:29 +0800)
committerJason Zaman <perfinion@gentoo.org>
Tue, 1 Oct 2019 14:51:34 +0000 (22:51 +0800)
The src and dst were swapped.

Signed-off-by: Jason Zaman <perfinion@gentoo.org>
eclass/bazel.eclass

index 4eacb75776e45b6955497d0894bf21ed9f2e4b5f..7c5f92977ba555506ab1fc4a16193d16eb2f484d 100644 (file)
@@ -193,7 +193,7 @@ bazel_load_distfiles() {
                elif [[ ${rename} -eq 1 ]]; then
                        # Make sure the distfile is used
                        if [[ "${A}" == *"${word}"* ]]; then
-                               echo "Copying ${file} to bazel distdir as ${word}"
+                               echo "Copying ${word} to bazel distdir as ${file}"
                                ln -s "${DISTDIR}/${word}" "${T}/bazel-distdir/${file}" || die
                        fi
                        rename=0