Skip to content
  • Emanuele Aina's avatar
    Revert "Follow TMPDIR environment variable" · fddcef0a
    Emanuele Aina authored
    This reverts commit 7982241d
    
    .
    
    The --tmpdir flag works fine with the `mktemp` shipped by coreutils in
    `/bin/mktemp`, but with the `/usr/bin/mktemp` brought in by
    coreutils-gplv2 the value of the TMPDIR variable is ignored and it tries
    to create a /build-snapshot.NtQMUAiQNC directory in the filesystem root,
    which fails.
    
    Sadly on the Jenkins build host we have both the GPLv3 coreutils and
    the mktemp packages installed, as the latter is tagged "essential",
    and since the executable shipped by the latter masks the former, the
    change broke the `build-snapshot` job.
    
    Revert the change until the old mktemp package gets dropped from the
    build host.
    
    Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
    fddcef0a