diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml
index 51b9148e3e..106bb2c315 100644
--- a/documentation/ref-manual/technical-details.xml
+++ b/documentation/ref-manual/technical-details.xml
@@ -1005,7 +1005,7 @@
mkdir -p /tmp/$USER-weston
chmod 0700 /tmp/$USER-weston
- export XDG_RUNTIME_DIR=/tmp/$USER=weston
+ export XDG_RUNTIME_DIR=/tmp/$USER-weston
Launch Weston in the shell: