buildd lingering: remove a bashism
[mirror/dsa-puppet.git] / modules / buildd / manifests / init.pp
index 4f5c291..1d9aa20 100644 (file)
@@ -186,7 +186,7 @@ class buildd ($ensure=present) {
 
                file { '/home/buildd/.profile':
                        content  => @(EOT),
-                               export XDG_RUNTIME_DIR="/run/user/$UID"
+                               export XDG_RUNTIME_DIR="/run/user/$(id -u)"
                                export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
                                | EOT
                        group   => buildd,