diff --git a/containers/jug/xl.Dockerfile b/containers/jug/xl.Dockerfile
index a46369fff7510d01605ef8671543182d794cd3af..6c97da0a0230dab278657c734bde4778e318557f 100644
--- a/containers/jug/xl.Dockerfile
+++ b/containers/jug/xl.Dockerfile
@@ -83,7 +83,7 @@ RUN cd /tmp
  && popd                                                                        \
  && rm -rf build ip6                                                            \
  && echo "ADDING SETUP SCRIPT"                                                  \
- && echo "export LD_LIBRARY_PATH=/opt/detector/lib:\$LD_LIBRARY_PATH"           \
+ && echo "export \$LD_LIBRARY_PATH:LD_LIBRARY_PATH=/opt/detector/lib"           \
          > /opt/detector/setup.sh
 
 ## Install benchmarks into the container